dotfiles/playbooks/roles/git/templates/gitconfig.j2
Matej Focko 9fab75e3ef
Add GPG key to gitconfig automatically
Signed-off-by: Matej Focko <me@mfocko.xyz>
2020-10-11 20:27:02 +02:00

20 lines
315 B
Django/Jinja

[commit]
gpgsign = true
[core]
editor = code --wait
excludesfile = ~/.gitignore
[diff]
tool = vscode-difftool
[difftool "vscode-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[gpg]
program = gpg2
[user]
name = Matej Focko
email = {{ git_email }}
signingkey = {{ gpg_signingkey }}