Simpler GitHub Pages publishing
We’re making it easier to publish a website with GitHub Pages. Now you can select a source in your repository settings and GitHub Pages will look for your content there.…

We’re making it easier to publish a website with GitHub Pages. Now you can select a source in your repository settings and GitHub Pages will look for your content there.
- Selecting master branch will publish your site from the
master
branch. This is useful for repositories dedicated to website content. - Selecting master branch /docs folder will publish from the
/docs
folder of yourmaster
branch. This lets you maintain documentation and code together on one branch, and open source maintainers can accept contributions for both in a single pull request.
Rest assured that existing project pages which use a gh-pages
branch will keep working just like before, as will user and organization pages published from the master
branch.
Check out the documentation to learn more.
Written by
Related posts

Top 12 Git commands every developer must know
The latest installment of GitHub for Beginners, where we cover the essential Git commands to get you Git-literate.

What is Git? Our beginner’s guide to version control
Let’s get you started on your Git journey with basic concepts to know, plus a step-by-step on how to install and configure the most widely used version control system in the world.

5 tips to supercharge your developer career in 2024
From mastering prompt engineering to leveraging AI for code security, here’s how you can excel in today’s competitive job market.