Skip to content

Instantly share code, notes, and snippets.

@parabuzzle
Created October 13, 2014 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parabuzzle/abfe3bf20aa2f3875eed to your computer and use it in GitHub Desktop.
Save parabuzzle/abfe3bf20aa2f3875eed to your computer and use it in GitHub Desktop.
rebase my current branch off of master!
alias rebase!="git rebase -i `git merge-base \`git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'\` master`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment