dotfiles/dot_gitconfig.tmpl

26 lines
668 B
Cheetah
Raw Normal View History

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