Github pages not updating
For one, you obviously don't need to use Git Hub to manage your version control, so you can use any custom solution you desire and still deploy with the same , like a dynamic username in the URL that gets handled in Java Script but should always route to the same base page.
Unfortunately, this is not always possible and results in conflicts.I could just deploy my changes to whatever URL I chose and see my edits as soon as I refreshed the page!So Surge was built to be really good at doing a very specific task.We think it's the most awesome and we're working hard to keep it that way.It's free, open source, devoted to the open web, and will never have popups or a pay wall.Rather than dirtying up your commit history, you can just deploy your changes instantly and see how they look.
This was super useful recently when testing out a mobile layout for a site I was developing, where mobile Safari was being a bit more finicky than my mobile viewer in Chrome.
One way is to create a new file called CNAME (without any extension) and in that file, add the domain name (Eg.
in my case) then commit and push the changes from Git bash or your terminal.
The beauty of Git Hub Pages is it will simply track your master branch and rebuild / publish your site whenever it gets updated.
Thankfully, surge offers the option to hook into pushes and commits with a little addition to your Surge offers a few niceties that Git Hub Pages won't out of the box.
Second way is to do it directly from Git Hub, record that points to the IP (or domain) of Git Hub pages server.