Git, Github
[Github] branch를 생성하고 작업을 마친 뒤 PR하고 병합하기
hanbikan
2021. 5. 12. 23:09
git checkout -b ABC
(작업)
git push origin ABC
(Pull Request)
<merge>
git checkout master
git merge ABC
git push
git branch -d ABC
git remote update --prune
<rebase>
git fetch
git rebase master
git checkout master
git merge ABC
git push origin main
git remote update --prune