[GIT] 5. branch

최재원's avatar
Mar 31, 2025
[GIT] 5. branch

1. 명령어 모음

git branch 이름
브랜치 목록 확인
git checkout 이름
브랜치 이동
git checkout -b 이름
브랜치 만들면서 이동
git merge 이름
현재 브랜치에서 이름브랜치의 내용 가져오기

2. fast forword merge

커밋 메시지 없이 그냥 옮기기만 함
notion image
notion image
notion image
notion image
notion image
 

3. 3-way-merge

notion image
notion image

4. 3-way-merge 충돌 해결

 
Share article

jjack1