Skip to content

Instantly share code, notes, and snippets.

@dbgrandi
Created July 21, 2011 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbgrandi/1097169 to your computer and use it in GitHub Desktop.
Save dbgrandi/1097169 to your computer and use it in GitHub Desktop.
git aliases for bash
#
# 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'
@beezly
Copy link

beezly commented Jul 21, 2011

Thanks for passing these on to me. Very useful to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment