Master branch dont show in gh-pages #22604
-
Hello, ive followed an old tutorial about publishing in github pages. The thing is that they recommend to create a gh-pages branch and to assure delete the master branch. So you are safe and the web published in github.io… Recently ive read github documentation and it says that you can use either master or gh-branches… The problem im facing is that many of my students can watch the web with a master branch ( no gh-pages created). But one of my students didnt work… He gets a 404 error, althoug he has a index.html found… You could think is some path error or mistake. But he created a gh-pages and it worked as expected. So no error or linking related… If he deleted the gh-pages again, it show the 404 error… Perhaps a bug ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Can you show me a picture of his code |
Beta Was this translation helpful? Give feedback.
-
also show me a picture of his settings at the github pages section |
Beta Was this translation helpful? Give feedback.
-
merge gh-pages branch to master and set the source to master |
Beta Was this translation helpful? Give feedback.
-
In this repository ( is public you can take a look whatever you want): Repository : https://github.com/Werner365/RemoteDiariWerner Web ( gh-pages) :https://werner365.github.io/RemoteDiariWerner/ The student couldnt use the master branch because it didnt work ( error 404), I get it to work creating a new branch gh-pages i then it worked. I dont know why if i only has the master branch it doesnt work. Thanks |
Beta Was this translation helpful? Give feedback.
-
Ok, I will take a look |
Beta Was this translation helpful? Give feedback.
-
I will look at everything except the settings i need admin privilages to see settings |
Beta Was this translation helpful? Give feedback.
-
First go to settings Next scroll down to GitHub Pages Next click on the Source dropdown Now click Master Now press Save Finaly merge gh-pages into master |
Beta Was this translation helpful? Give feedback.
-
Seems that the problem was that github pages takes some time to load. The student revert the changes and seems to work. Sorry for the inconvenience. If its any updates about this issue id report. The objective of the question was not merging into one branch, but to guess why master branch wasnt published as readed in documentation. Seems that some orders ( specially change in css) take some time and others are almost live changes. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Seems that the problem was that github pages takes some time to load. The student revert the changes and seems to work. Sorry for the inconvenience. If its any updates about this issue id report.
The objective of the question was not merging into one branch, but to guess why master branch wasnt published as readed in documentation. Seems that some orders ( specially change in css) take some time and others are almost live changes.
Thanks for your help.