Last active
June 2, 2017 14:41
-
-
Save sanguis/903720 to your computer and use it in GitHub Desktop.
my .gitconfig file minus my name and email
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
[color] | |
ui = on | |
[core] | |
whitespace= fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[alias] | |
df = !git diff --no-prefix && git diff --staged --no-prefix | |
clear = reset --hard | |
st = status | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
co = checkout | |
con = checkout -b | |
ci = commit -a | |
cim = commit -am | |
br = branch | |
ls = branch -a | |
[mergetool] | |
keepBackup = FALSE | |
[push] | |
default = upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
something was wrong with the lg alias in older version