From f112416f7ddcfff668ba7ef653d3c13be43828a8 Mon Sep 17 00:00:00 2001 From: Laily Date: Tue, 19 Jun 2018 15:10:38 +0800 Subject: [PATCH] add .gitconfig --- .gitconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..d1422e3 --- /dev/null +++ b/.gitconfig @@ -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