add .gitconfig

This commit is contained in:
2018-06-19 15:10:38 +08:00
parent 8c7a03a0ab
commit f112416f7d
+15
View File
@@ -0,0 +1,15 @@
[user]
name = Laily
email = i@laily.net
[core]
autocrlf = input
quotepath = false
editor = /usr/local/bin/nvim
[alias]
merge2 = "!f() { git checkout $1 && git merge $2 && git checkout -; }; f"
co = checkout
ci = commit
br = branch
st = status
[push]
default = current