add git config

This commit is contained in:
Jay 2020-09-15 11:55:18 +08:00
parent 3b7049704f
commit 35b35ea6af
2 changed files with 17 additions and 0 deletions

17
.gitconfig Normal file
View File

@ -0,0 +1,17 @@
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
name = Jay
email = jay@rtj.tw
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
d = difftool
co = checkout
ci = commit
l = log --oneline --graph --all
ls = log --graph --pretty=format:\"%h <%an> %ar %s\" --all
st = status
br = branch

View File