Skip to content

Instantly share code, notes, and snippets.

@azappella
Created April 9, 2013 11:33
Show Gist options
  • Save azappella/5345000 to your computer and use it in GitHub Desktop.
Save azappella/5345000 to your computer and use it in GitHub Desktop.
.bashrc (git aliases)
# http://www.catonmat.net/blog/git-aliases/
alias ga='git add'
alias gp='git push'
alias gl='git log'
alias gs='git status'
alias gd='git diff'
alias gdc='git diff --cached'
alias gm='git commit -m'
alias gma='git commit -am'
alias gb='git branch'
alias gc='git checkout'
alias gra='git remote add'
alias grr='git remote rm'
alias gpu='git pull'
alias gcl='git clone'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment