I am trying to make a git alias to rebase onto the common ancestor of another branch. So that I can type...
git rbca develop -i
and it gets expanded to...
git rebase $(git merge-base HEAD develop) -i
Here is what I have:
rbca = "!git rebase $(git merge-base HEAD $1) #"
I'm very close. They only problem is that the #
doesn't work as expected so the -i
has no effect.
Here are the other SO answers that have gotten me this far.