Last Updated: February 25, 2016
· olivergierke

Git alias to rebase and merge in one go

If you find yourself repeatedly switching into a branch to rebase it onto master to (fast-forward) merge it into master, here's the appropriate alias for you:

remerge = !git checkout $1 && git rebase master && git checkout master && git merge $1