Skip to content

Instantly share code, notes, and snippets.

@wwgist
Created February 12, 2013 10:42
Show Gist options
  • Save wwgist/4761492 to your computer and use it in GitHub Desktop.
Save wwgist/4761492 to your computer and use it in GitHub Desktop.
BASHRC: GIT aliases
# GIT aliases
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gl='git log'
alias ghis='git log --pretty=format:"%h — %an: %s"'
alias ghist='git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short'
alias got='git '
alias get='git '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment