[GIT] change identity based on remote url

This commit is contained in:
Afonso Franco 2024-02-22 11:39:22 +00:00
parent c38a49f2b3
commit 57bbbe8228
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -1,7 +1,11 @@
[user]
email = me@afonsofrancof.com
name = afonsofrancof
email = afonso@francof.net
name = afonso
signingkey = ~/.ssh/id_ed25519_sk.pub
[includeIf "hasconfig:remote.*.url:https://github.com/**"]
path = ~/.gitconfig-gh
[includeIf "hasconfig:remote.*.url:ssh://git@github.com/**"]
path = ~/.gitconfig-gh
[filter "lfs"]
process = git-lfs filter-process
required = true