An Interest In:
Web News this Week
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
January 23, 2023 11:14 am GMT
Original Link: https://dev.to/rndsetiawan/creating-github-template-repository-3m5l
Creating GitHub Template Repository
Table of Content:
- STEP 1 (Create a New Repository)
- STEP 2 (Create a Template Repository)
- STEP 3 (Creating Repository from a Template)
You can create a new repository on your GitHub account or any organization where you have sufficient permission.
If you want to create a template from the existing repository go through STEP 2.
STEP 1 (Create a New Repository)
- In the upper right corner, use the + drop-down menu and select New Repository.Or click the tab Repositories New.
- In the Owner drop-down, select the account on which you wish to create the repository.
- Type a Name for your repository, and fill in an optional Description box.
- Choose repository visibility.
- Check the Add a README file box.
- Click Create Repository.
- Your new repository is ready.
STEP 2 (Create a Template Repository)
- Under your repository name, click Setting.
- Fill in the checkbox Template Repository.
- Go back and refresh your browser.
- If successful, Use this template button just added.
- Now, your template is ready for editing before you use it.
STEP 3 (Creating Repository from a Template)
- On the GitHub page, navigate to the main page of the repository.You can use templates from your repository, organization repository, or another repository.Click Use this template and select Create a new repository.
3.1.1 - create a new repository from the templateAnother step to Create New Repository is In the upper right corner, use the + drop-down menu and select New Repository.
3.1.2 - create a new repository from the templateOr click the tab Repositories New.
- To create a repository with your template of the directory structure and files of an existing repository, use the Choose a template drop-down and select a template repository.
3.2 - create a new repository from the templateAfter this step, the next step is the same as STEP 1 (Create New Repository) starting from no.2 - 7.
- In the Owner drop-down, select the account on which you wish to create the repository.
- Type a Name for your repository, and fill in an optional Description box.
- Choose repository visibility.
- Check the Add a README file box.
- Click Create Repository.
- Your newly generate template repository is ready.
Original Link: https://dev.to/rndsetiawan/creating-github-template-repository-3m5l
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To