-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathdot_gitconfig.tmpl
103 lines (82 loc) · 1.84 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
[user]
name = Wil Thomason
email = [email protected]
signingkey = {{ .signingkey }}
[credential]
{{- if ne .chezmoi.os "darwin" }}
helper = /usr/lib/git-core/git-credential-libsecret
{{- else }}
helper = /usr/local/share/gcm-core/git-credential-manager
{{- end }}
[push]
default = simple
autoSetupRemote = true
[core]
editor = nvim
autocrlf = input
excludesfile = /home/wil/.gitignore_global
; pager = diff-so-fancy | less --tabs=4 -RFX
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
{{- if not .rice_machine }}
[url "ssh://[email protected]/"]
insteadOf = https://github.com/
{{- end }}
[url "ssh://[email protected]/"]
insteadOf = git://github.com/
[alias]
co = checkout
ci = commit -m
st = status
br = branch
hist = log --pretty=format:\"%h %af | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
d = diff
pl = pull
pu = push
a = add
ap = add -p
ac = !git add . && git commit -m
undo = reset --soft HEAD~1
sub = submodule update --init --recursive
cp = cherry-pick
cl = clone
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[gpg]
program = gpg
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[init]
defaultBranch = main
[protocol "file"]
allow = always
[credential "https://git.overleaf.com"]
provider = generic
[credential "https://dev.azure.com"]
useHttpPath = true