dotfiles/.gitconfig

34 lines
726 B
INI

[user]
email = afonso@francof.net
name = afonso
signingkey = ~/.ssh/touch_key
[includeIf "hasconfig:remote.*.url:https://github.com/**"]
path = ~/.gitconfig-gh
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"]
path = ~/.gitconfig-gh
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[core]
autocrlf = input
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[commit]
gpgsign = true
[gpg]
format = ssh
[tag]
gpgsign = true
[pull]
rebase = false
[init]
defaultBranch = main