Skip to content

Instantly share code, notes, and snippets.

@mdarby
Created January 29, 2009 16:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mdarby/54614 to your computer and use it in GitHub Desktop.
Save mdarby/54614 to your computer and use it in GitHub Desktop.
alias gb='git branch'
alias gc='git commit -a'
alias gca='git commit -va'
alias gci='git commit -v --interactive'
alias gco='git checkout'
alias gcv='git commit -v'
alias gd='git diff'
alias gitweb='git instaweb --httpd=webrick'
alias gl='git log --graph --pretty=format:"%Cred%h%Creset — %s %Cgreen(%cr)%Creset" --abbrev-commit --date=relative'
alias gp='git push'
alias gpl='git pull'
alias gsh='git show'
alias gst='git status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment