git rebase

코딩/GIT 2019. 5. 22. 15:59

--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
Posted by 타다키치
,