Re:How I configure my Git identities
by bentinata on Monday November 25, 2024 @02:39AM
(#42234056)
I use `insteadOf` instead of ssh alias because my workplace use GitLab orgs. So instead of typing the full URL like:
git clone gitlab.com/acme-corp/project-name
I could use:
git clone work:project-name
But this kinda broke `includeIf` since it store the `insteadOf` remote url directly. I then had to convert existing repositories to use the `insteadOf` url.
I wrote a little bit about it here: https://bentinata.com/log/git-insteadof-includeif