home
articles
category
tags
search
about
Git
[GIT] git branch merge하기
2022년 9월 2일
참고한 블로그
https://backlog.com/git-tutorial/kr/stepup/stepup2_4.html
Git Branch Merge하기
현재 branch commit 후 push 하기
git checkout master/main
git merge <merge할 branch 이름>
git push -u origin master/main
git checkout <원래 branch 이름> (다시 원래 branch로 돌아가고자 할 때)
master/main 중 하나의 이름만 사용해야 함.