-
Notifications
You must be signed in to change notification settings - Fork 4
/
.gitconfig
105 lines (80 loc) · 1.96 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
[user]
name = yuki_yano
email = [email protected]
[color]
ui = auto
diff = auto
[color "status"]
added = green
changed = red
untracked = yellow
unmerged = magenta
[core]
autocrlf = input
pager = "{ \
if [[ $COLUMNS -ge 160 ]]; then \
delta --side-by-side; \
else \
delta; \
fi \
}"
editor = nvim
excludesfile = ~/.gitignore_global
attributesfile = ~/.gitattributes_global
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[include]
path = ~/.gitconfig.local
path = .gitconfig.local
[status]
showUntrackedFiles = all
[diff]
indentHeuristic = true
compactionHeuristic = true
renames = true
mnemonicprefix = false
tool = nvimdiff
[commit]
verbose = true
[fetch]
prune = true
[pull]
ff = true
[push]
default = current
[merge]
conflictStyle = diff3
[rebase]
autostash = true
autosquash = true
[alias]
basebranch = !"basename \"$(git symbolic-ref --short refs/remotes/origin/HEAD)\""
[help]
autocorrect = -1
[rerere]
enabled = true
[difftool]
prompt = false
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
[diff-so-fancy]
markEmptyLines = true
stripLeadingSymbols = false
[ghq]
root = ~/.go/src
root = ~/repos
[url "[email protected]:"]
pushInsteadOf = git://github.com/
pushInsteadOf = https://github.com/
[browse-remote "github.com"]
top = https://{host}/{path}
ref = https://{host}/{path}/tree/{short_ref}
rev = https://{host}/{path}/commit/{commit}
pr = https://{host}/{path}/pull/{short_ref}
file = "https://{host}/{path}/{file.directory? and :tree or :blob}/{short_rev}/{file}{lines && \"#L%s\" % lines.join(\"-\")}"
[delta]
features = line-numbers decorations
syntax-theme = Catppuccin-mocha
# vim:set expandtab shiftwidth=2 softtabstop=2 tabstop=2 foldenable foldmethod=marker: