-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
70 lines (55 loc) · 1.22 KB
/
dot_gitconfig.tmpl
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
[user]
name = Thomas Birke
email = {{ .git.email }}
[core]
autocrlf = input
commentChar = ";"
editor = nvim
excludesfile = ~/.config/git/gitignore_global
filemode = false
hooksPath = ~/.config/git/hooks
pager = delta
attributesfile = ~/.config/git/attributes
[alias]
br = branch
ci = commit
co = checkout
df = diff
lol = log --graph --decorate --pretty=format:\"%C(yellow)%h %Cblue%ci%Cred%d%Cgreen %an%Creset %s\" --abbrev-commit --all
smu = submodule update --init
st = status
[difftool]
prompt = false
[delta]
plus-style = "syntax #012800"
minus-style = "syntax #340001"
syntax-theme = Monokai Extended
[interactive]
diffFilter = delta --color-only
[color]
diff = auto
status = auto
branch = auto
[color "diff"]
whitespace = red reverse
[push]
default = simple
autoSetupRemote = true
[commit]
gpgsign = true
[diff]
compactionHeuristic = true
[fetch]
recurseSubmodules = false
[tag]
sort = version:refname
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[credential]
# helper = cache --timeout=9999999999999999
helper = "!git-credential-gopass $@"
[init]
defaultBranch = main