dotfiles/git/gitconfig
2019-12-25 23:52:02 +02:00

31 lines
594 B
Text

[color]
ui = true
[pull]
rebase = true
[log]
abbrevCommit = true
[format]
pretty = %C(auto)%h%C(reset)%C(auto)%d%C(reset) %s %C(green)- %an %C(blue)(%ar)%C(reset)
[core]
pager = diff-so-fancy | less --tabs=4 --RAW-CONTROL-CHARS
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[alias]
tree = log --all --graph
unstage = reset HEAD
discard = checkout