Created
May 27, 2015 16:59
-
-
Save lancebecker/4ee4e981362fa19e970e to your computer and use it in GitHub Desktop.
Handy git aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias gti="git" | |
alias g='git' | |
alias gs='git status -sb' | |
alias gl='git log' | |
alias ga='git add' | |
alias gc='git commit' | |
alias gca='git commit -a' | |
alias gco='git checkout' | |
alias gm='git commit --amend' | |
alias gb='git branch' | |
alias gbn='git checkout -b' | |
alias gd='clear && git diff' | |
alias gdm='git diff | mvim -' | |
alias gll='git log --graph --pretty="format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset"' | |
alias gp='git fetch --prune' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment