When I use Git to push files to GitHub, command line shows it has been pushed successfully, but why the GitHub page does not reflect the commit?
What I use is just 3 simple command.
git add .
git commit -m "message"
git push
GitHubPages has defined naming standards for the repositories serving content for web pages.
https://github.com/<OrgName>/<orgname>.github.io
For Example: https://github.com/Sauceforge/sauceforge.github.io is served at http://sauceforge.github.io
When you push your commit, GHPages copies your repository to another internal staging where where Jekyll compiles it makes it available for hosting. This process usually takes a few minutes. If the compilation process fails for some reason you will be sent an email.
Clicking the Environments link will also show you an activity log.
The files actually serving your site are not accessible directly.
If you're talking about the page that greets you when you visit a github repo on github.com it's because you need a README.md
in the root directory of your project.
Oh and you have to push
the changes to the remote master
branch
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.