Home > Software design >  How to display a submodule on a github site?
How to display a submodule on a github site?

Time:04-08

I created a githiub site here: My site

I would like to add some pages from another repo so I entered the command:

git submodule add https://github.com/Marvelous-Software/FrameworkTelevision.git

then I tried to display a page but it doesn't work:

https://marvelous-software.github.io/FrameworkTelevision.git/Javascript/Lab 1.html

I have a repo for my web page and a repo for my school work. I would like to keep them separate but display my school work on my site. Is this possible? Or do I have to duplicate files?

CodePudding user response:

The problem was with my url, it was incorrect. The correct url is

https://marvelous-software.github.io/FrameworkTelevision/Javascript/Lab 1.html 
  • Related