[GIT] change identity based on remote url
This commit is contained in:
parent
c38a49f2b3
commit
57bbbe8228
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
||||||
[user]
|
[user]
|
||||||
email = me@afonsofrancof.com
|
email = afonso@francof.net
|
||||||
name = afonsofrancof
|
name = afonso
|
||||||
signingkey = ~/.ssh/id_ed25519_sk.pub
|
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"]
|
[filter "lfs"]
|
||||||
process = git-lfs filter-process
|
process = git-lfs filter-process
|
||||||
required = true
|
required = true
|
||||||
|
|
Loading…
Add table
Reference in a new issue