I have a github repository which use numerous submodules. I would like to be able to modify them locally then push them on their repositories (so I have to use the read-write repository url).
However, I also need to use github’s gh-pages service to serve the repository, and it seems requiring a read-only url in the .gitmodules file.
Can I have the best of both worlds ?
This is definitely possible and supported:
git submodule initFrom the git-submodule manpage: