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