Last active
April 4, 2017 15:45
-
-
Save calvinf/0b715fdaec435397fa75 to your computer and use it in GitHub Desktop.
Git config
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] | |
br = branch | |
co = checkout | |
pr = pull --rebase | |
st = status | |
vimdiff = difftool -y -t vimdiff | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
graph = log --branches --pretty=short --decorate --graph | |
branch-name = !git for-each-ref --format='%(refname:short)' `git symbolic-ref HEAD` | |
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order | |
cnv = commit --no-verify | |
recent = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)' | |
dw = diff -w --word-diff | |
wd = diff -w --word-diff | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
ui = auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment