github rebase

yeji·2021년 3월 7일
0

Github

목록 보기
1/3

작업 branch에서 upstream의 main branch 변경 사항 확인
1. $ git pull upstream main
2. $ git rebase main

conflict 생겼다면 해결 방법 (3가지)
1. resolve all conflicts manually
git add/rm <conflicted_files>
then run git rebase --continue
2. skip resolve
git rebase --skip
3. abort and get back to the state before
git rebase
and run git rebase --abort

rebase 처리 완료 후 git push upstream main

profile
🐥

0개의 댓글