-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_gitconfig.tmpl
More file actions
49 lines (49 loc) · 1.49 KB
/
dot_gitconfig.tmpl
File metadata and controls
49 lines (49 loc) · 1.49 KB
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
# THIS FILE IS GENERATED BY CHEZMOI!
[user]
name = Parker Wahle
email = regulad@regulad.xyz
signingKey = ~/.ssh/id_rsa3072.pub
[init]
defaultBranch = master
[commit]
gpgSign = true
[tag]
gpgSign = true
# --atomic and --tags should be used on almost every push but there is no way to enable these by default
[push]
autoSetupRemote = true
default = current
# not supported on GitHub but is supported by others
[core]
autocrlf = false
excludesFile = ~/.gitignore_global
{{- if and (eq .chezmoi.os "windows") (stat (joinPath .chezmoi.homeDir "scoop")) }}
sshCommand = "\"C:\\Windows\\System32\\OpenSSH\\ssh.exe\""
{{- end }}
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[lfs "customtransfer.xet"]
path = git-xet
args = transfer
concurrent = true
[gpg]
format = ssh
{{- if and (eq .chezmoi.os "windows") (stat (joinPath .chezmoi.homeDir "scoop")) }}
program = "C:\\Program Files (x86)\\GnuPG\\bin\\gpg.exe"
{{- end }}
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
{{- if and (eq .chezmoi.os "windows") (stat (joinPath .chezmoi.homeDir "scoop")) }}
program = "C:\\Windows\\System32\\OpenSSH\\ssh-keygen.exe"
{{- end }}
# the ssh key itself gets passed through SSH, so it can be used even with the dummy secrets
# but for gh? tough luck
{{- if not .useDummySecrets }}
[credential "https://gist.github.com"]
helper = !gh auth git-credential
[credential "https://github.com"]
helper = !gh auth git-credential
{{- end }}