Files
chezmoi/dot_gitconfig.tmpl
2025-08-02 18:15:15 +02:00

59 lines
1.4 KiB
Cheetah

[user]
name = {{ .github_name }}
email = {{ .github_email }}
signingkey = {{ .github_public_key }}
[includeIf "gitdir:~/Documents/vaults/kjuulh/"]
path = .gitconfig_front
[includeIf "gitdir:~/git/git.front.kjuulh.io/**"]
path = .gitconfig_front
[includeIf "gitdir:~/git/github.com/kjuulh/"]
path = .gitconfig_front
[includeIf "gitdir:~/.local/share/chezmoi/**"]
path = .gitconfig_front
[includeIf "gitdir:~/.config/nvim/"]
path = .gitconfig_front
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:lunarway"]
insteadOf = https://github.com/lunarway
[core]
# pager = delta
excludeFiles = cover.cov
excludeFile = cover.cov
[push]
default = current
[gpg]
format = ssh
#[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
[rerere]
enabled = true
[commit]
gpgsign = true