Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github Top-Level Project Page

Tags:

github

Is it possible to publish a project page to http://username.github.com/ instead of http://username.github.com/projectname?

like image 482
Jason French Avatar asked Nov 15 '25 06:11

Jason French


2 Answers

Create a repository called username.github.com and it will automatically be used as your top-level page.

like image 147
jrbalsano Avatar answered Nov 17 '25 20:11

jrbalsano


Note that since April 2013 ("New GitHub Pages domain: github.io"):

  • User Pages repositories may now be named using the new username/username.github.io
  • Existing User Pages repositories named like username/username.github.com do not need to be renamed and will continue to be published indefinitely.
  • If both a username.github.io and a username.github.com repository exists, the username.github.io version wins.

So the solution is still valid, but be aware that:

If your Pages site was previously served from a username.github.com domain, all traffic will be redirected to the new username.github.io location indefinitely, so you won't have to change any links.
For example, newmerator.github.com now redirects to newmerator.github.io.

like image 32
VonC Avatar answered Nov 17 '25 22:11

VonC