You can bind mount the submodule’s other directory
sudo mount --bind /path/to/main/repo relative/path/to/submodule
I can’t find much info about this method, but saw it listed in this, similar question.
You can bind mount the submodule’s other directory
sudo mount --bind /path/to/main/repo relative/path/to/submodule
I can’t find much info about this method, but saw it listed in this, similar question.