chezmoi/dot_gitconfig.tmpl

62 lines
1.5 KiB
Cheetah
Raw Normal View History

2023-07-24 12:44:41 +02:00
[user]
2023-07-24 13:14:18 +02:00
signingkey = {{ .github_public_gpg }}
email = {{ .github_email }}
name = {{ .github_name }}
2023-07-24 12:44:41 +02:00
[includeIf "gitdir:~/git/github.com/lunarway/"]
path = .gitconfig_lw
[includeIf "gitdir:~/Documents/vaults/kjuulh/"]
path = .gitconfig_front
2023-07-28 21:25:34 +02:00
[includeIf "gitdir:~/git/git.front.kjuulh.io/**"]
2023-07-24 12:44:41 +02:00
path = .gitconfig_front
[includeIf "gitdir:~/git/github.com/kjuulh/"]
path = .gitconfig_front
[includeIf "gitdir:~/.local/share/chezmoi/**"]
path = .gitconfig_front
2023-07-24 12:44:41 +02:00
[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
2023-07-24 12:44:41 +02:00
excludeFiles = cover.cov
excludeFile = cover.cov
[push]
default = current
2023-07-24 13:11:29 +02:00
{{ if .homebrew }}
2023-07-24 12:44:41 +02:00
[gpg]
program = /opt/homebrew/bin/gpg
2023-07-24 13:11:29 +02:00
{{ 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)
2023-07-24 12:44:41 +02:00
[merge]
conflictstyle = diff3
2023-07-24 12:44:41 +02:00
[diff]
colorMoved = default
tool = difftastic
external = difft
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
2023-07-24 12:44:41 +02:00
[rerere]
enabled = true