Git: use dyff for yaml diffing
This commit is contained in:
parent
49bd6759b3
commit
f76f574e77
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.* diff=delta
|
||||||
|
*.yml diff=dyff
|
||||||
|
*.yaml diff=dyff
|
@ -13,6 +13,7 @@
|
|||||||
template = ~/.gitmessage
|
template = ~/.gitmessage
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
|
attributesFile = ~/.dotfiles/gitattributes
|
||||||
pager = delta
|
pager = delta
|
||||||
[github]
|
[github]
|
||||||
user = rad4day
|
user = rad4day
|
||||||
@ -32,3 +33,7 @@
|
|||||||
protocol = https
|
protocol = https
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = store
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
[diff "dyff"]
|
||||||
|
command = "dyff_between() { dyff --color on between --omit-header \"$2\" \"$5\"; }; dyff_between"
|
||||||
|
Loading…
Reference in New Issue
Block a user