~kris/dots

srice

ref: 178c9a25a484ead715392d50e21d03df486b8b41 srice/.config/git/git-identity-work.gitconfig -rw-r--r-- 579 bytes
178c9a25 — Kris Yotam conky: sync proper config from moirai (was the greenred variant) 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# git identity -- work account (demo)
# Use with includeIf to auto-switch when inside work directories:
#
#   [includeIf "gitdir:~/work/"]
#       path = ~/dev/100x/dev/configs/git-identity-work.gitconfig
#
# Any repo cloned under ~/work/ will automatically use this identity.

[user]
    name = Kris Yotam
    email = kris@example-corp.com
    signingkey = ~/.ssh/id_ed25519_work

[commit]
    gpgsign = true

[gpg]
    format = ssh

# Work forge (e.g. company GitLab/GitHub Enterprise)
[url "git@github.com:example-corp/"]
    insteadOf = work:

# git clone work:internal-tool