30 lines
736 B
Cheetah
30 lines
736 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"
|
|
|
|
[init]
|
|
defaultBranch = "master"
|
|
|
|
[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:
|
|
|