Ive created one repo out of two small repos which are now submodules. In this Master Repo
, I can change these submodules and commit them to a PR from the Master Repo
, however in Github, I am unable to actually open the submodules in Github. They are hidden behind an unclickable file with the submodule repo #
name and the folder icon has a little white arrow pointing right [see image]
This is the folder structure. Each submodule ofc has its own remote added pointing to the original repo that it came from.
Master Repo ->
-submodule repo 1
-submodule repo 2
How can I get github to actually show the contents of these submodules in things like pull request reviews and such?
If I look at my own repository github.com/VonC/git-cred
, my submodule batcolors @ 83bcef4
is clickable.
It is composed of:
.gitmodules
of my parent repository.In your case, check if:
.gitmodules
fileHow can I get GitHub to actually show the contents of these submodules in things like pull request reviews and such?
That is not supported with a submodule approach (reference to a sub-repository).
A subtree approach would: