mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +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]
|
[core]
|
||||||
editor = vim
|
editor = vim
|
||||||
eol = native
|
eol = native
|
||||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
pager = delta || (diff-so-fancy | less --tabs=4 -RFX)
|
||||||
quotepath = false
|
quotepath = false
|
||||||
commitGraph = true
|
commitGraph = true
|
||||||
|
[interactive]
|
||||||
|
diffFilter = delta --color-only
|
||||||
[alias]
|
[alias]
|
||||||
committree = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
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
|
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
|
whitespace = red reverse
|
||||||
[gc]
|
[gc]
|
||||||
writeCommitGraph = true
|
writeCommitGraph = true
|
||||||
|
[delta]
|
||||||
|
line-numbers = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue