--rebase
$ git checkout develop
$ git pull
$ git checkout fix/document-copy-delete
$ git rebase develop
*address conflict
$ git rebase --continue
$ git push -f
$ git rebase -i HEAD~7 (number of commits to be addressed) #맨 위에거 남기고 나머지 다 pick -> s
$ git push -f
'코딩 > GIT' 카테고리의 다른 글
deleting file when already pushed to remote (0) | 2019.05.22 |
---|---|
pull, merge 취소하고 fetch 할 때 (0) | 2019.05.22 |