-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
executable file
·134 lines (108 loc) · 2.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[alias]
d = difftool
pushf = "push --force-with-lease"
[branch]
autosetupmerge = true
[color]
branch = auto
diff = auto
status = auto
interactive = auto
ui = auto
[core]
excludesfile = ~/.gitignore_global
whitespace = trailing-space,space-before-tab
# Make `git rebase` safer on macOS
# More info: <http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/>
trustctime = false
# Speed up commands involving untracked files such as `git status`.
# https://git-scm.com/docs/git-update-index#_untracked_cache
untrackedCache = true
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[interactive]
diffFilter = delta --color-only
[delta]
# https://github.com/dandavison/delta
colorMoved = default
# diff-so-fancy = true
hyperlinks = true
relative-paths = true
side-by-side = false
features = damo-style
# Allow navigating the diff using `n` to move forward and `N` to jump back
# https://github.com/dandavison/delta#navigation-keybindings-for-large-diffs
navigate = true
# To preview themes, run this shell cmd: `delta --show-syntax-themes`
# syntax-theme = Coldark-Dark
# minus-style = normal auto
# plus-style = syntax auto
[delta "damo-style"]
dark = true
file-added-label = [+]
file-copied-label = [C]
file-modified-label = [M]
file-removed-label = [-]
file-renamed-label = [R]
line-numbers = true
syntax-theme = Dracula
[diff]
algorithm = histogram
indentHeuristic = true
mnemonicprefix = true
prompt = false
suppressBlankEmpty = true
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[difftool "kdiff3"]
path = /usr/local/bin/kdiff3
[difftool]
prompt = false
keepBackup = false
trustExitCode = false
[merge]
keepBackup = false
prompt = false
stat = true
tool = kdiff3
[mergetool]
prompt = false
keepBackup = false
keepTemporaries = false
[mergetool "vscode"]
trustExitCode = true
cmd = code --wait $MERGED
[mergetool "kdiff3"]
path = /usr/local/bin/kdiff3
[fetch]
prune = true
parallel = 4
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[github]
user = blackrobot
[pull]
rebase = true
[push]
default = simple
[submodule]
fetchJobs = 4
[status]
relativePaths = false
showUntrackedFiles = all
[user]
name = damon
useConfigOnly = false
[credential]
helper = osxkeychain
[include]
path = ~/.gitconfig.local
[init]
defaultBranch = master