forked from liuchengxu/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
33 lines (33 loc) · 907 Bytes
/
gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[user]
email = [email protected]
name = Liu-Cheng Xu
[core]
excludesfile = /Users/xuliucheng/.gitexcludes
# I have no idea why the python3 feature is broken when committing with vim
editor = nvim
[color "branch"]
current = bold green
local = yellow
remote = magenta
upstream = cyan
[color "status"]
# staged changes
added = bold green
updated = green
# un-staged changes
changed = yellow
untracked = red
nobranch = red
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[commit]
template = /Users/xuliucheng/.stCommitMsg