-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
34 lines (34 loc) · 979 Bytes
/
Copy pathgitconfig
File metadata and controls
34 lines (34 loc) · 979 Bytes
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
# Git configuration template
# Fill in the values in angle brackets, then save this file as ~/.gitconfig
#
# For an explanation of the signing-related values, please see:
# https://docs.gitlab.com/user/project/repository/signed_commits/ssh/
[user]
email = <email>
name = <name>
signingKey = <SSH public key>
[core]
editor = nano
[init]
defaultBranch = main
[status]
submoduleSummary = true
[diff]
submodule = log
[commit]
gpgSign = true
[submodule]
recurse = true
[tag]
gpgSign = true
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = ~/.ssh/allowed_signers
# Only include this next value on machines you access locally, where you have
# deployed both your public and private keys, not on remote machines.
# See the script itself for details.
#
# Note: This particular path is *not* shell-expanded, so you cannot write
# something like ~/scripts/git-signing-proxy.sh here, it needs to be a full path
program = <...>/git-signing-proxy.sh