Improve git config

This commit is contained in:
J. Fernando Sánchez
2026-02-05 10:44:12 +01:00
committed by J. Fernando Sánchez
parent 2d074e0b09
commit 80d1ed1528
2 changed files with 10 additions and 6 deletions

View File

@@ -5,8 +5,9 @@
[core] [core]
pager = delta pager = delta
[delta]
side-by-side = true
[includeIf "gitdir:~/git/work/tcs/"] [includeIf "gitdir:~/git/work/tcs/"]
path = tcs.config path = tcs.config
[delta]
side-by-side = true

View File

@@ -2,16 +2,19 @@
[user] [user]
name = "J. Fernando Sánchez" name = "J. Fernando Sánchez"
email = "f.sanchez@thechannelstore.tv" email = "j@sanchezrada.es"
[[--scope]] [[--scope]]
--when.repositories = ["~/git/personal/"] --when.repositories = ["~/git/work/tcs"]
[--scope.user] [--scope.user]
email = "j@sanchezrada.es" name = "J. Fernando Sánchez"
email = "f.sanchez@thechannelstore.tv"
[ui] [ui]
pager = "delta" #":builtin" pager = "delta" #":builtin"
diff-formatter=":git" diff-formatter=":git"
paginate = "auto"
[merge-tools.delta] [merge-tools.delta]
diff-args=["--side-by-side", "$left", "$right", "--width=$width"] diff-args=["--color-only", "--side-by-side", "$left", "$right", "--width=$width"]