Created
October 6, 2016 23:19
-
-
Save shana/b58a334831f1ea44607af2cd4ab6dbee to your computer and use it in GitHub Desktop.
gitconfig aliases
This file contains hidden or 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] | |
ci = commit | |
co = checkout | |
st = status | |
praise = blame | |
la = diff --cached --name-only | |
ls = ls-files -m | |
da = diff --cached | |
shown = show --name-status | |
yank = cherry-pick | |
lg = log --name-status --decorate | |
lf = log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s" | |
lr = log -C --summary --decorate | |
ld = log --oneline --decorate | |
plg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
out = log @{u}.. --decorate | |
outall = log --branches --not --remotes --decorate | |
new = ls-files -o --exclude-standard | |
gone = ls-files -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment