forked from tbjers/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig.tmpl
47 lines (36 loc) · 987 Bytes
/
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
# -*-mode:gitconfig-*- vim:ft=gitconfig
# -*-mode:ini-*- vim:ft=gitconfig
# ~/.gitconfig
# =============================================================================
# User-specific Git configuration file.
#
# See https://git-scm.com/docs/git-config
#
# {{- /* This file supports Go's text/template language. */}}
[init]
defaultBranch = main
[gpg]
format = ssh
[gpg "ssh"]
program = "/opt/1Password/op-ssh-sign"
allowedSignersFile = {{ .chezmoi.homeDir }}/.ssh/allowed_signers
[commit]
gpgsign = true
[user]
signingkey = {{ .signingkey | quote }}
email = {{ .email | quote }}
name = {{ .name | quote }}
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "http://git.codesubmit.io"]
helper =
helper = cache
username = leap-llc-hzmhky
[color]
ui = true
[include]
path = {{ .chezmoi.homeDir }}/.gitinclude