Is it possible to publish a project page to http://username.github.com/ instead of http://username.github.com/projectname?
1883 次
2 に答える
4
Create a repository called username.github.com and it will automatically be used as your top-level page.
于 2013-02-06T20:38:11.547 に答える
2
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 newusername.github.io
location indefinitely, so you won't have to change any links.
For example, newmerator.github.com now redirects to newmerator.github.io.
于 2013-04-06T08:40:56.210 に答える