-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_gitconfig.tmpl
107 lines (82 loc) · 1.72 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
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
106
107
[core]
excludesfile = ~/.gitignore_global
[user]
name = Scott Peshak
email = {{ .email }}
signingkey = {{ .gpgkey }}
[include]
path = ~/.gitaliases
[push]
default = simple
gpgSign = if-asked
autoSetupRemote = true
[init]
templateDir = ~/.git-template
defaultBranch = main
[color]
diff = auto
status = auto
branch = auto
ui = true
[commit]
gpgsign = true
[color]
ui = true
[gpg]
program = gpg
[log]
date = iso-strict
[grep]
lineNumber = true
extendedRegexp = true
fallbackToNoIdex = true
[tag]
forceSignAnnotated = true
gpgSign = true
[help]
autocorrect = 1
[pager]
diff = diff-so-fancy | less --tabs=4 -RFX
show = diff-so-fancy | less --tabs=4 -RFX
grep = cat
branch = cat
[status]
submoduleSummary = true
[fetch]
prune = true
[rebase]
autoSquash = true
instructionFormat = "%s (%an)"
[git-up "bundler"]
check = true
[diff "spaceman-diff"]
command = {{ findExecutable "spaceman-diff" (list "/usr/local/bin/" "/opt/homebrew/bin") }}
indentHeuristic = on
# diff-so-fancy recommended defaults
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
[url "git@github.com:"]
insteadOf = https://github.com/
# Ansible Vault tools
[diff "ansible-vault"]
textconv = ansible-vault view
# Do not cache the vault contents
cachetextconv = false
[merge "ansible-vault"]
name = ansible-vault merge driver
driver = ~/bin/ansible-vault-merge -- %O %A %B %P
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
# vim: ft=dosini