add git config
This commit is contained in:
parent
9d4996097b
commit
2541081a15
1 changed files with 15 additions and 0 deletions
15
dot_gitconfig
Normal file
15
dot_gitconfig
Normal 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:
|
Loading…
Reference in a new issue