Skip to content

Instantly share code, notes, and snippets.

@kmdsbng
Forked from yaotti/git-alias.zsh
Created December 6, 2009 03:53
Show Gist options
  • Save kmdsbng/250037 to your computer and use it in GitHub Desktop.
Save kmdsbng/250037 to your computer and use it in GitHub Desktop.
# aliases for git
alias g="git"
alias gad="git add"
alias gb="git branch -v"
alias gba="git branch -a"
alias gbl="git blame"
alias gbr="git branch -r"
alias gc="git commit -v"
alias gca="git commit -av"
alias gco="git checkout"
alias gd="git diff"
alias gdc="git diff --cached"
alias gg="git grep"
alias gh="git help"
alias gis="git svn"
alias gl="git log"
alias gll="git log --pretty=oneline"
alias glg="git log --pretty=oneline --graph"
alias gls="git ls-files"
alias gm="git merge"
alias gst="git status"
alias gs="git show"
alias gss="git stash save"
alias gssh="git stash show"
alias gsl="git stash list"
alias gitPull="git pull"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment