2차 프로젝트에서는 merge를 하지 않고 rebase를 한다.
Basic flow
Bugfix가 있으면 Hotfix branch를 만든다.
Rebase
Merge 대신에 사용하는 명령어
MERGE & REBASE
Both of these commands are designed to integrate chagnes from one branch into another branch - they just do it in very different ways
rebase는 시간 순서랑 상관없이 같은 작업물끼리 붙는다.
squash는
제일 오래된 내용을 pick하고 모두 다 거기에 squash
commit 3번하고 squash
commit 10번하고 conflicts나면 10번 해결해야 함
rebase 할 때 squash git rebase -i main