feat: add git config

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-04-26 15:10:04 +02:00
parent 93cbdfd862
commit 59a46d6185
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -26,7 +26,7 @@
[url "git@github.com:lunarway"]
insteadOf = https://github.com/lunarway
[core]
pager = delta
# pager = delta
excludeFiles = cover.cov
excludeFile = cover.cov
[push]
@ -35,15 +35,27 @@
[gpg]
program = /opt/homebrew/bin/gpg
{{ end }}
[interactive]
diffFilter = delta --color-only
[add.interactive]
useBuiltin = false # required for git 2.37.0
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
#[interactive]
# diffFilter = delta --color-only
# [add.interactive]
# useBuiltin = false # required for git 2.37.0
# [delta]
# navigate = true # use n and N to move between diff sections
# light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
tool = difftastic
external = difft
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true