I have a common file "foobar" across master and its customer private branches. Previously they diverged and now I've managed to get a single file that apples to all private branches in master.
In order for my customer branches to track master, I've successfully used git rebase -i master
.
However, I've now forcefully "synced" the git checkout master -- foobar
in my private branch, committed it and now my git rebases are erroring out. Fixing by hand each time takes far too long.
git checkout master -- foobar && git add foobar && git rebase --continue
Can someone offer a tip or two how to get out of this sticky situation? Reverting my commit on the private branch is not a problem. Basically I want all my branches to use the foobar file from master, end of.