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: