-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
65 lines (65 loc) · 1.75 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[core]
excludesfile = /Users/yakir/.gitignore_global
quotepath = false
# pager = delta
editor = vim
fsmonitor = false
ignorecase = false # 大小写敏感
# [interactive]
# diffFilter = delta --color-only --features=interactive
[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
[user]
name = yakirChen
email = [email protected]
[commit]
template = /Users/yakir/.stCommitMsg
[pull]
rebase = false
[http]
[http "https://github.com"]
proxy = socks5://127.0.0.1:7890
# proxy = socks5://127.0.0.1:1080
sslVerify = false
[http "https://ssh.github.com"]
proxy = socks5://127.0.0.1:7890
# proxy = socks5://127.0.0.1:1080
sslVerify = false
[http "https://www.privoxy.org"]
proxy = socks5://127.0.0.1:7890
# proxy = socks5://127.0.0.1:1080
sslVerify = false
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
ll = log --graph --date=short
[color]
status = true
diff = true
branch = true
interactive = true
# [delta]
# features = decorations
# side-by-side = true
# [delta "interactive"]
# keep-plus-minus-markers = false
# [delta "decorations"]
# commit-decoration-style = blue ol
# commit-style = raw
# file-style = omit
# hunk-header-decoration-style = blue box
# hunk-header-file-style = red
# hunk-header-line-number-style = "#067a00"
# hunk-header-style = file line-number syntax
[init]
defaultBranch = master
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[diff]
algorithm = patience