I was playing about with my git repo and tried the GitHub pages feature but I'm not sure how to get rid of it. The check box on the repo admin is disabled.


Simply delete the gh-pages remote branch:

$ git push origin :gh-pages
|improve this answer|||||
  • 1
    I'm not sure this answer is complete, now that GitHub pages supports different ways to create GitHub pages (master, /docs, etc.). By disabling GitHub pages in the repo settings (and Ctrl-F5 in my browser), I see the pages are gone. – Fuhrmanator Jan 14 at 15:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.