Last Updated: February 25, 2016
·
540
· clauswitt

Zsh Helpers for Rebasing and Merging

Created a blog post about some of my zsh snippets. You can read it here: http://clauswitt.com/zsh-helpers-for-rebasing-and-merging.html

Usage:

rebase origin/master into current topic branch
remain

rebase heroku/live into current topic branch
remain heroku live

rebase origin/live into current topic branch
remain live

If you want to merge, instead of rebasing, the function is called memain instead. The semantics are the same however.