~kris/dots

srice

ref: e98f3b030dc24445bd55c68d95d2d81933fd68b3 srice/.config/git/git-identity-work.gitconfig -rw-r--r-- 579 bytes
e98f3b03 — Kris Yotam chore: sync local state after restore (push updates, no pull) a month 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