-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
56 lines (56 loc) · 1.26 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
[user]
name = Peter Stensmyr
{{- if eq .chezmoi.hostname "AU02-PSTENS-NB1" }}
email = [email protected]
signingkey = 2F7B3E6A3DC5A97F
{{- else }}
email = [email protected]
{{- end }}
[alias]
st = status --short --branch
br = checkout --track origin/master -b
last = log -5 --pretty=format:'%C(yellow)%ad%Creset %C(green)%h%Creset | %C(bold blue) %an%Creset: %s' --date=short
dc = diff --cached
aa = add --all
unco = reset --soft HEAD~1
going = !git add --all && git commit --amend --no-edit
[core]
editor = nvim
pager = delta
excludesfile = ~/.gitignore
[push]
default = current
{{- if eq .chezmoi.hostname "AU02-PSTENS-NB1" }}
[commit]
gpgsign = true
{{- end }}
[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
[cola]
spellcheck = false
[advice]
detachedHead = false
[merge]
renamelimit = 10000
[blame]
date = short
[delta]
plus-color = "#012800"
minus-color = "#340001"
syntax-theme = Monokai Extended
[interactive]
diffFilter = delta --color-only
[url "[email protected]:"]
insteadOf = https://github.com/