3 ms·
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-n
by bentinata 2y ago
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 https://bentinata.com/log/git-insteadof-includeif