Created
March 24, 2015 18:39
-
-
Save brianc/4b336294725e4b505ce9 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
git fetch | |
git rebase origin/master | |
git rebase -i HEAD~`git log origin/master.. --pretty=oneline | wc -l | sed -e 's/^[ \t]*//'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment