-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
41 lines (38 loc) · 945 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
34
35
36
37
38
39
40
41
[user]
email = [email protected]
name = Jiang Hongfei
[alias]
history = log --all --graph --pretty=format:'%C(auto)%h %C(dim green)%ad%C(auto)%d %s %C(dim red)(%aN)' --date=format:%m%d%H
list = show --pretty="format:" --name-only
dt = difftool
mt = mergetool
mark = "!f() { \
git add .;\
[ -s .mignore ] && git reset HEAD `cat .mignore`;\
git status;\
}; \
f"
[diff]
tool = bcomp
[difftool]
prompt = false
[difftool "bcomp"]
trustExitCode = true
cmd = "bcomp" "$LOCAL" "$REMOTE"
[merge]
tool = bcomp
[mergetool]
prompt = false
[mergetool "bcomp"]
trustExitCode = true
cmd = "bcomp" "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
[core]
excludesfile = ~/.gitignore
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[credential]
helper = manager