Reputation: 535
I am trying to rebase my master
based on upstream
.
CONFLICT (modify/delete): file.txt deleted in HEAD and modified in <version>
.git status
says deleted by us: file.txt
git rm file.txt
. I get needs merge
git status
says all conflicts fixed
git rebase --skip
I get back to (1.)git version 2.10.1
Thanks!
Upvotes: 2
Views: 210
Reputation: 4454
Doing a git rebase --skip
will nullify any changes you made during the rebase. You are almost correct with your workflow, you only need to do the following after doing a git rm file.txt
:
git add .
- to make sure all your changes have been added to staginggit status
- for a sanity checkgit rebase --continue
- this will save all the changes that you did during the rebase.Upvotes: 2