dotfiles/dot_gitconfig.tmpl
2021-01-27 17:19:58 -06:00

27 lines
699 B
Cheetah

[user]
email = mail@mzhang.io
name = Michael Zhang
signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B
[alias]
lg = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
pushpr = "!f() { git push origin master;git commit --allow-empty -m 'push to execute post-receive';git push origin master; }; f"
[pull]
rebase = true
[commit]
gpgsign = true
{{ if .pass }}
[sendemail]
smtpServer = mzhang.io
smtpServerPort = 465
smtpUser = mail@mzhang.io
smtpPass = {{ pass "email/mail@mzhang.io" }}
smtpEncryption = ssl
confirm = auto
{{ end }}
# vim: set filetype=gitconfig: