Skip to content

Instantly share code, notes, and snippets.

@raine
Created April 17, 2010 14:03
Show Gist options
  • Save raine/369575 to your computer and use it in GitHub Desktop.
Save raine/369575 to your computer and use it in GitHub Desktop.
alias gdc='git diff --cached'
alias gst='git status -s' # git >1.7.0
alias glr='git pull --rebase'
alias gl='git pull'
alias gp='git push'
alias gd='git diff'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
alias gap='git add --patch'
alias glg="git log --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gsa='git stash apply'
alias gs='git stash'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment