dotfiles/playbooks/roles/git/templates/gitconfig.j2
Matej Focko 595b300a29
Update git config
- main branch
- signed commit alias
- rebase when pulling

Closes #27

Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-01-25 12:12:53 +01:00

29 lines
405 B
Django/Jinja

[alias]
scommit = commit --signoff
[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
[init]
defaultBranch = main
[pull]
rebase = true
[user]
name = Matej Focko
email = {{ git_email }}
signingkey = {{ gpg_signingkey }}