Created
March 24, 2017 05:34
-
-
Save fromkk/36a4a5857d8d8faa270739a9bef5c811 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
[alias] | |
unstage=reset HEAD | |
pushcurrent=!git push origin `git rev-parse --abbrev-ref HEAD` | |
pullcurrent=!git pull origin `git rev-parse --abbrev-ref HEAD` | |
removemergedbranch=!git branch --merged | grep -vE '^\\*|master$|develop$' | xargs -I % git branch -d % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment