Created
July 21, 2011 13:26
-
-
Save dbgrandi/1097169 to your computer and use it in GitHub Desktop.
git aliases for bash
This file contains hidden or 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
# | |
# my current git aliases for bash. | |
# i'm using git-achievements, if you are not, just leave that one out | |
# | |
alias g='git' | |
alias ga='git add' | |
alias gb='git branch -a -v' | |
alias gc='git commit' | |
alias gca='git commit -a' | |
alias gco='git checkout' | |
alias gd='git diff' | |
alias git='git-achievements' | |
alias gl='git pull' | |
alias gp='git push' | |
alias gpom='git push origin master' | |
alias grm='git status | grep deleted | awk '\''{print $3}'\'' | xargs git rm' | |
alias gs='git status' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for passing these on to me. Very useful to have.