Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to remove repository name from github page link?

I created a page for a github repository following these instructions:Getting Started with GitHub Pages. Worked perfectly, the page is already hosted.

But I would like to change the page URL, This is the currently URL: http://myusername.github.io/repositoryName/

Is there any way to remove the repository name? (http://myusername.github.io/)

I've seen the articles to configure a custom domain, but I think that's not the case.

like image 702
Mathiasfc Avatar asked Jun 13 '17 20:06

Mathiasfc


People also ask

Can you change the URL of a GitHub Pages?

On GitHub, navigate to your site's repository. Under your repository name, click Settings. In the "Code and automation" section of the sidebar, click Pages. Under "Custom domain", type your custom domain, then click Save.

How do I remove a custom domain from GitHub?

If you want your user name's GitHub domain back which automatically comes from your {username}. github.io repo then simply empty the custom domain input field and enter a space in the custom domain field in order to activate the save button as the save button will not let you save until the field is empty.

How do I remove a shared repository from GitHub?

In the upper-right corner of any page, click your profile photo, then click Settings. In the "Code, planning, and automation" section of the sidebar, click Repositories. Next to the repository you want to leave, click Leave. Read the warning carefully, then click "I understand, leave this repository."


1 Answers

To remove the repository name, you'll need to make it a User Page (or an Organization page). Create a repository named myusername.github.io, and commit your content to the master branch. See this help page for more information.

like image 165
MVS Avatar answered Oct 18 '22 18:10

MVS