-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig.local.example
More file actions
42 lines (37 loc) · 939 Bytes
/
Copy path.gitconfig.local.example
File metadata and controls
42 lines (37 loc) · 939 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
35
36
37
38
39
40
41
42
# Git identity (not tracked in git)
# Copy to ~/.gitconfig.local and customize
[user]
name = Your Name
email = your.email@example.com
# signingkey = ~/.ssh/id_ed25519.pub
# ===================
# Signing (optional)
# ===================
# Sign commits with SSH key
# [gpg]
# format = ssh
#
# [commit]
# gpgsign = true
#
# [gpg "ssh"]
# allowedSignersFile = ~/.ssh/allowed_signers
# ===================
# Work Profile (conditional)
# ===================
# Use different email for work repos
# [includeIf "gitdir:~/work/"]
# path = ~/.gitconfig-work
#
# Then create ~/.gitconfig-work:
# [user]
# email = your.name@company.com
# ===================
# URL Rewrites (optional)
# ===================
# Use SSH instead of HTTPS for GitHub
# [url "git@github.com:"]
# insteadOf = https://github.com/
# Use SSH for your org's repos
# [url "git@github.com:myorg/"]
# insteadOf = https://github.com/myorg/