-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
100 lines (80 loc) · 2.05 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
[init]
defaultBranch = master
[user]
name = Sang Dang
email = [email protected]
signingkey = AA6A388340079D7254DEB159698E4AABAAA7BE6F
[gpg]
program = /usr/local/MacGPG2/bin/gpg2
[commit]
template = /Users/sangdang/dotfiles/git/commit-template
gpgsign = true
[core]
excludesfile = /Users/sang/.gitignore_global
pager = delta
editor = lvim
[blame]
# ignoreRevsFile = ./.git-blame-ignore-revs
[interactive]
diffFilter = delta --color-only
[delta]
features = line-numbers decorations
navigate = true
side-by-side = true
true-color = always
whitespace-error-style = 22 reverse
syntax-theme = OneHalfDark
minus-style = syntax "#78191b"
plus-style = syntax "#1b4721"
blame-code-style = syntax
blame-format = {author:<15.14}
[delta "decorations"]
commit-decoration-style = bold yellow box ul
file-style = bold yellow ul
file-decoration-style = none
hunk-header-decoration-style = cyan box ul
[delta "line-numbers"]
line-numbers-left-style = cyan
line-numbers-right-style = cyan
line-numbers-minus-style = 124
line-numbers-plus-style = 28
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[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
[color]
ui = auto
branch = auto
status = auto
[alias]
st = !git status
fmain = !git checkout -b master && git branch -D main
sorrymaster = !git checkout -b main && git branch -D master
sync = !git fetch origin --prune && git pull origin
save = !bit save
switch = !bit switch
[rebase]
autoSquash = true
[pull]
rebase = true
[push]
autoSetupRemote = true
recurseSubmodules = on-demand
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[mergetool]
keepBackup = true
[gitbutler]
signCommits = true
aiModelProvider = openai
diffLengthLimit = 5000
aiOpenAIKeyOption = butlerAPI