add git config

This commit is contained in:
Michael Zhang 2024-05-29 14:00:03 -05:00
parent 9d4996097b
commit 2541081a15

15
dot_gitconfig Normal file
View file

@ -0,0 +1,15 @@
[user]
email = mail@mzhang.io
name = Michael Zhang
[alias]
lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgg = log --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[init]
defaultBranch = "master"
[pull]
rebase = true
# vim: set filetype=gitconfig: