mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 11:04:41 +02:00
[git] add delta-git for better diff output but setting diff-so-fancy as fallback
This commit is contained in:
parent
5a4c6c8acd
commit
6576a606da
1 changed files with 5 additions and 1 deletions
|
@ -12,9 +12,11 @@
|
|||
[core]
|
||||
editor = vim
|
||||
eol = native
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
pager = delta || (diff-so-fancy | less --tabs=4 -RFX)
|
||||
quotepath = false
|
||||
commitGraph = true
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[alias]
|
||||
committree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
ct = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||
|
@ -62,3 +64,5 @@
|
|||
whitespace = red reverse
|
||||
[gc]
|
||||
writeCommitGraph = true
|
||||
[delta]
|
||||
line-numbers = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue