scripts icon indicating copy to clipboard operation
scripts copied to clipboard

git-submodule-rewrite works great, but urls cannot be relative

Open devinrhode2 opened this issue 5 years ago • 1 comments

Our normal git repo's url is like: https://gitlab.our-co.com/usonly-projects/client-A in my .gitmodules file I had relative urls which are literally like: ../common-code - Somehow, these relative urls workaround an issue with authentication for cloning submodules in gitlab CI.

Anyway, I had to change these to the full urls for this script to work, which was very easy, I expect almost anyone else running into the issue will spot it and immediately know what to fix.

onward to a true monorepo. No more forking and and trying to sync submodules anymore.

devinrhode2 avatar Dec 30 '19 14:12 devinrhode2

Possible dup of #16 (or related).

jeremysears avatar Oct 06 '20 13:10 jeremysears