dotfiles/dot_gitconfig.tmpl

18 lines
465 B
Cheetah
Raw Normal View History

2020-06-15 09:11:21 +00:00
[user]
2020-11-03 23:24:41 +00:00
email = mail@mzhang.io
2020-06-15 09:11:21 +00:00
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]
rebase = true
2020-11-03 23:24:41 +00:00
2020-06-15 09:11:21 +00:00
[commit]
gpgsign = true
2020-06-15 10:09:28 +00:00
# vim: set filetype=gitconfig: