Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are Github pages created automatically in the fork of a repo which has a gh-pages branch?

Are github pages within my account created automatically when I fork a repo which already includes gh-pages branch?

like image 241
yojimbo87 Avatar asked Dec 21 '11 09:12

yojimbo87


People also ask

What happens when you fork a repo in GitHub?

A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project.

Where is that GH pages in GitHub?

Under your repository name, click Settings. In the "Code and automation" section of the sidebar, click Pages. To see your published site, under "GitHub Pages", click your site's URL.

Is forking the same as branching?

Forking creates a full copy of your repository, whereas branching only adds a branch to your exiting tree. The file size of branch can vary depending on the branch that you are on. Under the hood git readily accesses the different files and commits depending on what branch you are using.

Does GitHub Pages auto deploy?

Deployment on GitHub PagesDeploying to GitHub Pages is automatic. Once it's set up, deploying happens whenever you push your local changes to your remote, GitHub-hosted repository. Head to GitHub Pages' setup instructions and follow the steps exactly to get your main GitHub Pages page setup.


1 Answers

There needs to be at least one push to trigger a page build so by doing a git push origin master, I got the page to rebuild.

like image 106
yojimbo87 Avatar answered Sep 22 '22 14:09

yojimbo87