Last active
January 30, 2017 17:49
-
-
Save xtbl/e92b35da52d08b94ac82 to your computer and use it in GitHub Desktop.
Git Aliases
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
[user] | |
name = abc | |
email = abc | |
[alias] | |
co = checkout | |
fum = !git fetch upstream && git merge upstream/dev | |
addcom = !git add -A && git commit -m | |
st = status | |
codomain = !git checkout src/app/components/common/constants/domains/domains.js | |
removeallbranches = git branch | grep -v "master" | xargs git branch -D | |
# removes all branches in repo except master and the current branch | |
cleanbranches = git branch | egrep -v "(master|\*)" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment