dotfiles/dot_gitconfig.tmpl

25 lines
668 B
Cheetah

[user]
email = mail@mzhang.io
name = Michael Zhang
signingkey = 925ECC02890D5CDAE26180D4BDA47A31A3C8EE6B
[alias]
lg = log --graph --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
[sendemail]
smtpServer = mzhang.io
smtpServerPort = 465
smtpUser = mail@mzhang.io
smtpPass = {{ pass "email/mail@mzhang.io" }}
smtpEncryption = ssl
confirm = auto
# vim: set filetype=gitconfig: