# 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