Last active
December 15, 2015 01:59
-
-
Save vbjay/5183696 to your computer and use it in GitHub Desktop.
Git 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] | |
amend = commit --amend | |
br = branch | |
co = checkout | |
cob = checkout -b | |
ds = diff --staged | |
dc = diff --cached | |
di = diff | |
dis = diff --stat | |
cfg = config | |
fetchall = fetch -v --all | |
log-fancy = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative | |
log-me = !UN=$(git config user.name)&& git log --author="\"$UN\"" --pretty=format:'%h %cd %s' --date=short | |
log-nice = log --graph --decorate --pretty=oneline --abbrev-commit | |
panic = !tar cvf ../git_panic.tar * | |
st = status | |
wdiff = diff --word-diff=plain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment