I am having an issue with rebasing from master on to a 'deploy' branch within one of my repositories.
My repo is setup as follows:
master - of course, the main branch
deploy - a branch created where files like Capfile, deploy.rb etc are created and configured - these changes will NEVER be merged back into Master
Generally my workflow is:
- Do development on the master branch... test, smile, commit.
- Checkout the
deploy
branch - Execute
git rebase master
on the deploy branch - this used to work without a problem - Push to remote and then execute
cap deploy
- Relax
The problem I am now having is that when I execute git rebase master
on the deploy branch it is coming up with a 3-way merge/manual merge required error (I don't think the error message is really generic enough to post). Git tells me to perform a merge then use git rebase --continue
to finish - which never works.
What I have found 'does' work is running git rebase master --interactive
, cleaning up the pick list (there is 5 or so repeated 'commits' but with different reference numbers (same message) in this list, so I'll choose one of them) and then manually do the merge. Once I have done this for each commit then I can continue the rebase and its all happy...
Until next time I need to perform a rebase.
So does anyone know what might be happy? The project isn't really 'secret' so if need be I can post messages, logs, branch graphs etc.
Thanks