I'm trying to rebase the work of a colleague.
First, I get a ton of conflicts where <<<<< head seams to contain the new code.
Then after a while I get the following error:
fatal: update_ref failed for ref 'refs/heads/dev_504':
cannot lock ref 'refs/heads/dev_504': ref refs/heads/dev_504 is at
XXXXXXX
but expected XXXXXXXX
Could not move back to refs/heads/dev_504
Then if I try to continue anyway I get the following error:
fatal: cannot resume: .git/rebase-apply/final-commit does not exist.
How can I fix this so the rebase won't give an error?