-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
65 lines (50 loc) · 1.15 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
[user]
name = Johan Planchon
email = [email protected]
[core]
excludesfile = $HOME/.gitignore
; pager = delta
;[interactive]
; diffFilter = delta --color-only
[pull]
ff-only = false
rebase = true
[diff]
colorMoved = default
tool = difftastic
; external = difft
[http]
postBuffer = 524288000
[merge]
tool = vscode
conflictstyle = diff3
[pager]
difftool = true
[difftool]
prompt = false
[diff "sqlite3"]
binary = true
textconv = "echo .dump | sqlite3"
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[difftool "vscode"]
cmd = code --wait --diff "$LOCAL" "$REMOTE"
[mergetool "vscode"]
cmd = code --wait --reuse-window $MERGED
[delta]
paging = always
navigate = true
light = false
line-numbers = true
side-by-side = true
[init]
defaultBranch = main
[alias]
files = !git diff --name-only $(git merge-base HEAD \"${REVIEW_BASE:-main}\")
stat = !git diff --stat $(git merge-base HEAD \"${REVIEW_BASE:-main}\")
oui = !git commit -m \"wip: $(curl -s https://whatthecommit.com/index.txt)\"
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f