If you have a site called http://username.github.com
and a project called projectname
, do you
http://github.com/username/projectname/tree/gh-pages
to a) mirror your master branch, or b) create a webpage describing the project (to be reflected in http://username.github.com/projectname
), or http://github.com/username/projectname/tree/gh-pages
branch at all?Even if the repository is private, the site is still publicly available on the internet — so the developer should always check for any sensitive data before deployment. Naturally, sending sensitive data (e.g. passwords or credit card information) is also unsafe.
Yes, Github Page is a great place for you to host a static website. All you need to do is to purchase a domain and configure the DNS. Basically, it is a free hosting service I think you can put it that way. This is absolutely awesome.
What I understand of gh_pages as presented in pages.github.com, is that it is for:
readme.md
file or an index.html
page ("user page").I usually don't have a project page at all (most of my public github projects are mirrors of other open-source projects), but on the ones where I do, I have a web page describing the project.
Although I just had an idea: might be neat to make a project's gh-pages branch contain a highlighted, hyperlinked version of your code (run it through Doxygen and have it only generate cross-referenced source instead of documentation, for example).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With