1. 개인 branch를 apple 이라고 한다
apple branch 생성
git branch apple
apple branch 생성
2. apple branch로 이동
git switch apple
3. 작업 후 commit 전 현재 branch 위치 확인
git branch
* apple
main
4. staging 영역 이동
git add .
5. commit
git commit -m 'add login file'
6. apple pull
git pull origin apple
7. apple push
git push origin apple
8. merge 하기 위해 main branch로 이동
git switch main
9. 현재 branch 위치 확인
git branch
apple
* main
10. merge 하기 전 pull 진행
git pull origin main
11. apple branch merge 진행
git merge apple
12. conflict 해결
13. conflict 해결 후 commit
git add .
git commit -m 'solution'