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
|
||||
[core]
|
||||
autocrlf = input
|
||||
attributesFile = ~/.dotfiles/gitattributes
|
||||
pager = delta
|
||||
[github]
|
||||
user = rad4day
|
||||
@ -32,3 +33,7 @@
|
||||
protocol = https
|
||||
[credential]
|
||||
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