git: Use delta for diffing
This commit is contained in:
parent
80ff56cd28
commit
74dd4482aa
1 changed files with 7 additions and 0 deletions
|
|
@ -14,10 +14,14 @@ verbose = true
|
|||
[core]
|
||||
attributesfile = ~/.gitattributes
|
||||
excludesfile = ~/.gitignore
|
||||
pager = delta
|
||||
|
||||
[credential]
|
||||
helper = cache
|
||||
|
||||
[delta]
|
||||
navigate = true
|
||||
|
||||
[diff]
|
||||
colorMoved = dimmed-zebra
|
||||
wsErrorHighlight = all
|
||||
|
|
@ -32,6 +36,9 @@ cmd = difft "$LOCAL" "$REMOTE"
|
|||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[log]
|
||||
date = iso
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue