Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Github Project Pages and how to use them?

I am confused about Github "project pages". How are they different from the "user pages"?

I am using Github Pages for my personal website with custom domain. I'd like to add another site to it like this http://serhii-css.com/my-other-website, like another repository. Is it possible?

Thank you.

like image 987
Serhii Borovskyi Avatar asked Dec 19 '16 18:12

Serhii Borovskyi


People also ask

What is a project page GitHub?

1. For anyone coming from google and seeking the answer to the question in the title: "project" pages are gh-pages sites associated with a specific repo, where as "user/organization" pages are gh-pages sites associated with a whole user or organization.

What is the difference between GitHub user page and GitHub project page?

The main difference between a User Page and Project Pages: Project Pages are kept in the same repository as the project, except the gh-pages branch is used for Project Pages and the master branch is used for a User Page.

What is GitHub Pages good for?

With GitHub Pages, you can quickly create a site from your GitHub repositories—a great way to share static content related to your repository like resumes, portfolios, and project blogs.


1 Answers

I finally figured this out.

  1. Got to github.com
  2. Create a new repository (for example "new-project")
  3. Got to the setting of this repository
  4. In the "Github Pages" section make sure to have "master branch" or "gh-pages" selected under "Source"
  5. Now your new repository will be available at http(s)://<username>.github.io/new-project

enter image description here

like image 150
Serhii Borovskyi Avatar answered Oct 18 '22 21:10

Serhii Borovskyi