Created
January 5, 2011 20:39
-
-
Save bunnymatic/766967 to your computer and use it in GitHub Desktop.
Adding the rebaseprep line to your .gitconfig will give you the ability to prep for a rebase. The method jumps from the current branch into master, pulls the latest, and jumps back to your working branch. This leaves you all ready to rebase with master
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
rebaseprep = !sh -c 'git checkout master && git pull && git checkout -' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brilliant.