- create Git Repository
- git init
- git remote add origin (repo_address)
- git add --all
- git commit -m ("info")
- git push origin master / force = git push -f origin master
git branch (branchname) : 새로운 브런치 생성
git checkout (branchname) : 해당 브랜치로 이동
git pull origin (branch) : 원격 저장소의 특정 브랜치에서 변경사항 pull
- 원격 저장소 생성
- 팀원을 Collaborator로 추가
- 초기 프로젝트 push
- 팀원들의 로컬에 프로젝트 pull
- 팀원 각자의 브랜치를 생성하여 작업
- 브랜치에 작업한 내용을 push
- Master와 merge 하기 전 Pull request
- Pull request 확인 후 Master와 merge
- 작업하고 싶은 Repository fork 해오기
- 자신의 로컬에서 작업
- 변경사항을 자신의 브랜치에 push
- 원본 레포지토리 소유자에게 Pull request 요청
- 소유자가 Pull request를 승인하여 merge 하면 자동으로 Collaborator 추가