diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 603e6b4..31023ea 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -1,11 +1,15 @@ [user] - email = iptq@protonmail.com + 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