-
Is there any way where we can have multiple pages in different branch and we can host it through git Hub pages from one repo. As per docs we can have it in master, master/docs or gh-pages branch. But still want to confirm if there is any way to. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you’re asking if you can host two GitHub Pages sites from the same repository, then no. You can only host one GitHub Pages site per repository. If my understanding is incorrect, can you give some more details as to what it is you’re trying to do? Thanks! |
Beta Was this translation helpful? Give feedback.
-
I’m pretty sure the request is (essentially) for links from different branches from a single repo. E.g.
and
where ‘master’ is the master branch, and ‘develop’ is another branch, both in the same repo. I’ve not tried this myself or if there is some other link style that could be used. |
Beta Was this translation helpful? Give feedback.
If you’re asking if you can host two GitHub Pages sites from the same repository, then no. You can only host one GitHub Pages site per repository.
If my understanding is incorrect, can you give some more details as to what it is you’re trying to do?
Thanks!