aboutsummaryrefslogtreecommitdiff
path: root/templates/.gitconfig
blob: 543dcd584da546403da5849ba8470c318a4f346f (plain)
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
# vim: ft=gitconfig
[user]
	name = Ben Burwell
	email = ben@benburwell.com
	signingkey = 666112D967A36ECD
{{ if eq .OS "darwin" }}
[credential]
	helper = osxkeychain
{{ end }}
[color]
	diff = auto
	status = auto
	branch = auto
	ui = true
[core]
	excludesfile = ~/.gitignore
	autocrlf = false
	filemode = false
	precomposeUnicode = true
[apply]
	whitespace = nowarn
[mergetool]
	keepBackup = false
[difftool]
	prompt = false
[help]
	autocorrect = 1
[push]
	default = simple
[pull]
	default = simple
[help]
	autocorrect = 0
[filter "lfs"]
	required = true
	clean = git-lfs clean -- %f
	smudge = git-lfs smudge -- %f
	process = git-lfs filter-process
[gpg]
	program = gpg
[sendemail]
	from = Ben Burwell <ben@benburwell.com>
	envelopeSender = auto
	smtpuser =
	smtpserver = {{ if eq .OS "darwin"}}"/usr/local/bin/msmtp"{{ else }}"/usr/bin/msmtp"{{ end }}
	smtpserveroption = "--account=fastmail"
	smtpencryption = tls
	chainreplyto = false
	confirm = auto
	annotate = yes
[rebase]
	autoSquash = true
[github]
	user = benburwell
[ghi]
	token = !security find-internet-password -a benburwell -s github.com -l 'ghi token' -w