git merge conflict - fast-forward와 3-way-merge
git repository 하나 생성
<minishell repository (master zhy2on)>
master branch에 README.md 파일 하나 만들고, git add -> commit -> push 한다
master > git add README.md
master > git commit -m "init"
master > git push origin master
master > git branch temp
master > git branch junyopar
master > git branch jihoh
master > git checkout temp
temp > git push origin temp
master > git checkout junyopar(jihoh)
junyopar(jihoh) > git push origin junyopar(jihoh)
junyopar(jihoh) > ...working...
junyopar(jihoh) > git add .
junyopar(jihoh) > git commit -m"junyopar(jihoh) 1"
junyopar(jihoh) > git push origin junyopar(jihoh)
junyopar > git checkout temp
temp > git merge junyopar
jihoh > git checkout temp
temp > git merge jihoh
temp > git add .
temp > git commit -m"jihoh + junyopar merge"
temp > git push origin temp
temp > git branch -D junyopar
temp > git branch -D jihoh
temp > git checkout master
master > git merge temp
master > git add .
master > git commit -m"temp merge"
master > git push origin master
master > git branch -D temp
master > git branch temp
master > git checkout temp
temp > git push origin temp
master > git branch junyopar(jihoh)
master > git checkout junyopar(jihoh)
junyopar(jihoh) > git push origin junyopar(jihoh)