개발이야기/Git

[GIT] push 할 때 체크할 것

code지니어스 2022. 5. 19. 16:57

push할때 체크할 것


git checkout main 으로 이동
git pull origin main
git checkout push할 브랜치 이동
git rebase -i main
rebase할게 있으면 진행 
git push origin push할 브랜치 -f