[Git] 4. branch

김주희's avatar
Mar 27, 2025
[Git] 4. branch
필기
VI 에디터

1. 명령어

notion image
git merge join
fast forward merge
notion image
 
git checkout master
3way merge
git merge login
notion image
 
branch는 기능별로 만든다 팀원 4명 = branch 4개
master에 join 코드를 집어 넣는다 = master branch pointer가 join으로 이동 분기가 되는 형태 = 3way -> 여기서 merge 하면 3way merge(2개로 갈라진걸 하나로 다시 합친다) master가 흐르는 가지가 main
새로운 commit log -> master 이동 -> 다른 branch는 내용만 복제

2. Fast Forward Merge

merge하고나서 commit log가 안생김?
notion image
notion image
notion image
notion image
notion image
notion image
 
Share article

jay0628