Browse Source

[Git] Make Delta my default git diff viewer

master
Lucien Cartier-Tilet 6 months ago
parent
commit
5310bc5af1
Signed by: phundrak GPG Key ID: BD7789E705CB8DCA
  1. 18
      .gitconfig

18
.gitconfig

@ -97,3 +97,21 @@
rebase = false
[init]
defaultBranch = main
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = side-by-side line-numbers decorations
whitespace-error-style = 22 reverse
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none

Loading…
Cancel
Save