Skip to content

Instantly share code, notes, and snippets.

@nickisnoble
Last active August 29, 2015 14:12
Show Gist options
  • Save nickisnoble/1412f42746a6737716c5 to your computer and use it in GitHub Desktop.
Save nickisnoble/1412f42746a6737716c5 to your computer and use it in GitHub Desktop.
Git Aliases
alias bex="bundle exec"
# Git aliases
alias gs="git status"
alias glc="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias glt="git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
alias ga="git add"
alias gc="git commit -m"
alias gam="git commit -am"
alias gp="git push"
alias gpl="git pull"
alias gch="git checkout"
alias gcb="git checkout -b"
alias grv="git remote -v"
alias gcl="git clone"
alias gfch="git fetch"
alias gf="git flow"
alias gff="git flow feature"
alias gfh="git flow hotfix"
alias gfr="git flow release"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment