dotfiles/.gitconfig

25 lines
527 B
INI

[user]
email = afonso@francof.net
name = afonso
signingkey = ~/.ssh/id_ed25519_sk.pub
[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
[commit]
gpgsign = true
[gpg]
format = ssh
[tag]
gpgsign = true
[pull]
rebase = false
[init]
defaultBranch = main