dotfiles/.gitconfig

25 lines
519 B
INI

[user]
email = afonso@francof.net
name = afonso
signingkey = ~/.ssh/simple_sk
[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