From 2541081a15f28613ef5c4492492b8fd361e3416f Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 29 May 2024 14:00:03 -0500 Subject: [PATCH] add git config --- dot_gitconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dot_gitconfig diff --git a/dot_gitconfig b/dot_gitconfig new file mode 100644 index 0000000..e659a64 --- /dev/null +++ b/dot_gitconfig @@ -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: