dotfiles/playbooks/roles/git/templates/gitconfig.j2

37 lines
504 B
Text
Raw Normal View History

[alias]
scommit = commit --signoff
graph = log --oneline --decorate --graph --all
[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
[rebase]
autoStash = true
[tag]
gpgSign = true
[user]
name = Matej Focko
email = {{ git_email }}
signingkey = {{ gpg_signingkey }}