-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
50 lines (50 loc) · 1.13 KB
/
dot_gitconfig.tmpl
File metadata and controls
50 lines (50 loc) · 1.13 KB
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
[user]
name = Artur Ptaszek
email = {{ .email | quote }}
{{- if eq .hosttype "private" }}
signingkey = 0x99528328380ED3EE
{{- end }}
[init]
defaultBranch = main
[core]
excludesfile = ~/.gitignore_global
autocrlf = input
editor = nvim
[push]
default = simple
[pull]
rebase = true
{{- if eq .hosttype "private" }}
[commit]
gpgsign = true
{{- end }}
[merge]
tool = nvimdiff
[mergetool]
keepBackup = false
[diff]
tool = nvimdiff
compactionHeuristic = true
[credential]
helper = osxkeychain
[diff "pandoc"]
textconv=pandoc --to=markdown
propmpt = false
[mergetool "webstorm"]
cmd = /usr/local/bin/webstorm merge "$LOCAL" "$REMOTE" "$BASE" "$MERGED"
trustExitCode = false
[difftool "webstorm"]
cmd = /usr/local/bin/webstorm diff "$LOCAL" "$REMOTE"
[mergetool "nvimdiff"]
cmd = "nvim -d $MERGED $LOCAL $BASE $REMOTE -c 'wincmd J | wincmd ='"
[difftool "nvimdiff"]
cmd = nvim -d \"$LOCAL\" \"$REMOTE\" -c \"wincmd w\" -c \"wincmd L\"
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[rerere]
enabled = true
[rebase]
autosquash = true