Last active
May 30, 2019 11:39
-
-
Save TomMannson/dc1f32013ef989807a67e2ee6bfe2a44 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] | |
cbfix = "!f() { git branch | grep bugfix | xargs git branch -d $1; }; f" | |
cbfeature = "!f() { git branch | grep bugfix | xargs git branch -d $1; }; f" | |
goto = "!f() { git reset --hard; git clean -f; git checkout $1; }; f" | |
sync = "!f() { touch STASHING; git stash --all --quiet; git checkout $1 --quiet; git pull origin $1; git checkout -; git stash pop --quiet; rm STASHING;}; f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
formating