Enable so-fancy/diff-so-fancy and its recommended colours
This commit is contained in:
parent
8698a048c2
commit
e7005539be
1 changed files with 18 additions and 0 deletions
|
@ -9,12 +9,30 @@
|
||||||
d = diff
|
d = diff
|
||||||
l = log --graph --pretty=graph --date=relative
|
l = log --graph --pretty=graph --date=relative
|
||||||
up = pull --rebase=preserve --autostash
|
up = pull --rebase=preserve --autostash
|
||||||
|
patch = !git --no-pager diff --no-color
|
||||||
st = status --short
|
st = status --short
|
||||||
shove = "!f() { git push ${1:-origin} :; }; f"
|
shove = "!f() { git push ${1:-origin} :; }; f"
|
||||||
|
|
||||||
|
[color "diff"]
|
||||||
|
meta = yellow
|
||||||
|
frag = magenta bold
|
||||||
|
commit = yellow bold
|
||||||
|
old = red bold
|
||||||
|
new = green bold
|
||||||
|
whitespace = red reverse
|
||||||
|
|
||||||
|
[color "diff-highlight"]
|
||||||
|
oldNormal = red bold
|
||||||
|
oldHighlight = red bold 52
|
||||||
|
newNormal = green bold
|
||||||
|
newHighlight = green bold 22
|
||||||
|
|
||||||
[column]
|
[column]
|
||||||
ui = auto
|
ui = auto
|
||||||
|
|
||||||
|
[core]
|
||||||
|
pager = "diff-so-fancy | less --tabs=4 -RFX"
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = true
|
colorMoved = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue