관련 이것저것/Git 4

Git [4] Remote Repository, Branch 운영

Git Home 에서 Repositoreis 'New' 버튼선택 remote_git 생성 • README File & .gitignore (python) 선택 > Create repository 참고 - README File • 프로젝트에 대한 설명, 사용방법, 라이센스, 설치방법 등에 대한내용을 기술하는 파일 • 나, 직장동료, 프로그램 사용자를 위해 존재 (작성 습관화 필요) Local Repository 를생성하지않은상태에서 Git Clone 명령을사용하여 Remote Repository를 Local 에복제할수있음 Git Clone 앞서폴더를만들고 + Git Init 으로해당폴더를초기화하고 + Remote Repository 를등록하고 + Remote Repository 의내용을 Pull 하는모든과..

Git[3] Respositroy 생성 및 운영

Workspace 생성 git_test 폴더로 이동 cd git_test git init 폴더에서 git을 초기화하는 명령어 git init 파일생성 touch test.txt Git Status Git 에존재하는파일확인 git status Git Add Working Directory 에서변경된파일을 Index (stage)에추가 git add test.txt git status branch에 추가됨을 확인 할 수 있음 Git Commit Index (stage) 에추가된변경사항을 HEAD 에반영 (확정) git commit -m "commit 에 대한 설명" git commit -m"new commit" test.txt 원격 Repsoitroy 생성 Github Token 생성 보안상의이유로 Remo..

Git [2] GitHub 가입 및 연결

GitHub: Where the world builds software · GitHub GitHub: Where the world builds software GitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat... github.com 접속 후 회원가입함 Sing up for Github 클릭 메일 확인 후 코드 입력 git과 연동하기 git bash를 키고 1. 가입했던 user name 2. 가입했던 이..

Git [1] 기초 및 설치

버전관리시스템(형상관리) • Configuration Management Systems • Version Control Systems • Source Data + History • 협업, 작업추적, 복구등이가능 • 하루종일 개발한 코드가 컴퓨터가 다운되면 다 날라가 버림(ㄷㄷ) • 파일 버전관리를 위해 사용함 Centralized Version Control Systems • 협업이가능해짐 • commit 하는순간배포되어다수에게버그유발가능 (서버로바로 commit) • 인터넷이안되면작업이불가능 • 자신만의 version history를가질수없음 Distributed Version Control Systems • commit 하더라도개인저장소내에적용됨 (다른개발자에게영향없음) • 원하는순간에배포(Push) ..