Skip to content

Instantly share code, notes, and snippets.

@Andrew8xx8
Last active December 12, 2015 09:48
Show Gist options
  • Select an option

  • Save Andrew8xx8/4754002 to your computer and use it in GitHub Desktop.

Select an option

Save Andrew8xx8/4754002 to your computer and use it in GitHub Desktop.
Git aliases
alias gst='git status'
alias gdf='git diff HEAD~1 HEAD'
alias glg='git log --pretty=format:"%h %Cblue%ar %Cgreen%an%Creset: %s %Cred%d"'
alias gco='git checkout'
alias gci='git commit'
alias gcim='git commit -m'
alias gcia='git commit --amend'
alias grb='git rebase'
alias girb='git rebase -i'
alias gbr='git branch'
alias gup='git pull --rebase'
alias be='bundle exec'
alias bi='bundle install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment