dotfiles/dot_gitconfig.tmpl

69 lines
1,000 B
Cheetah

[user]
email = {{ .email }}
name = {{ .name }}
signingkey = 1A80DDB584AF7DA7
[core]
autocrlf = input
pager = delta
excludesfile = {{ .chezmoi.homeDir }}/.gitignore
[diff]
colorMoved = default
tool = difftastic
[pager]
difftool = true
[pull]
rebase = true
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[delta]
plus-color = "#012800"
minus-color = "#340001"
syntax-theme = Monokai Extended
line-numbers = true
side-by-side = true
inspect-raw-lines = false
[pager]
difftool = true
[pull]
rebase = true
[push]
autoSetupRemote = true
[interactive]
diffFilter = delta --color-only
[alias]
dft = difftool
[credential]
helper = rbw
[commit]
gpgsign = true
[init]
defaultBranch = main
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[filter "age"]
clean = git-age clean -- %f
smudge = git-age smudge -- %f
required = true
[diff "age"]
textconv = cat