~kris/dots

srice

ref: 512b7381d0155d6247fad64b640b0704496a8035 srice/.config/git/git-identity-work.gitconfig -rw-r--r-- 579 bytes
512b7381 — Kris Yotam mksh: port bashisms to mksh-safe (process subs, DEBUG-trap history hook, direnv, cd- alias) 3 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