pr 받기 전(미션 처음 시작할때)
1. 브랜치 추가
2. fork
3. git clone -b Benny --single-branch https://github.com/uBeom/fe-shopping
4. cd fe-shopping
5. git checkout -b step1
pr 받은 후
1. git checkout Benny
2. git remote add -t Benny upstream https://github.com/codesquad-members-2022/fe-shopping (최초 1회, repo main)
2.1 git remote -v (저장소 목록 확인)
3. git fetch upstream Benny
4. git rebase upstream/Benny
5. git checkout -b 'branchname'
6. git cherr-pick 커밋1 커밋2 커밋3
git log —all
$ git push -f origin 'branchname'
Benny에서 Benny1 머지
Benny에서 FE로 PR
FE에서 fetch origin FE, rebase origin/FE
Benny에서 FE merge
Benny에서 Benny2브랜치를 파고 작업
$ git branch -d 'branch name'
브랜치 생성과 체크아웃
git checkout -b 'branch name'
윗 순서 반복