Create and Clone a GitHub Public Repository¶
When you create a public repository, this will be your GitHub Pages website. While your repository is visible to the public, only contributors can modify your repository. You must allow other GitHub users to be contributors to your repositories.
For more GitHub Pages documentation, visit github.com.
For more information about public GitHub repositories, visit docs.github.io
Steps for creating a public repo on GitHub and cloning the repository with GitHub Desktop.
- From the GitHub Dashboard, next to Top Repositories, click New. Or from your Repositories page, click New.
- Enter your GitHub website URL in the Repository Name field. Example:
techwords.github.io
. - Make sure the Public option is selected.
- Click Create Repository.
- Copy the HTTPS URL for the public repository. Example:
https://github.com/techwords/techwords.github.io.git
. - Open GitHub Desktop.
- Select File > Clone Repository, then select the URL tab.
- Paste the URL in to the Repository URL or GitHub username and repository field.
- Choose a local path to save your content to.
- Click Clone.