Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 23, 2023 11:14 am GMT

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)

  1. In the upper right corner, use the + drop-down menu and select New Repository.

    1.1.1  create a new repository1.1.1 create a new repository

    Or click the tab Repositories New.

    1.1.2  create a new repository1.1.2 create a new repository

  2. In the Owner drop-down, select the account on which you wish to create the repository.

    1.2  choose repository owner1.2 choose repository owner

  3. Type a Name for your repository, and fill in an optional Description box.

    1.3 - fill repository name and description1.3 - fill repository name and description

  4. Choose repository visibility.
    • Public repositories = are accessible to everyone on the internet.
    • Private repositories = are only accessible to you, and people who you share access with, and for organization repositories, specific organization members.

      1.4 - repository visibility1.4 - repository visibility

  5. Check the Add a README file box.
    • You can edit the README file later.

      1.5 - add a readme file.1.5 - add a readme file.

  6. Click Create Repository.

    1.6 - create a repository button1.6 - create a repository button

  7. Your new repository is ready.

    1.7 - repository ready to use1.7 - repository ready to use

STEP 2 (Create a Template Repository)

  1. Under your repository name, click Setting.

    2.1 - setting repository2.1 - setting repository

  2. Fill in the checkbox Template Repository.

    2.2 - setting activate template repository2.2 - setting activate template repository

  3. Go back and refresh your browser.
  4. If successful, Use this template button just added.

    2.4 - before and after setup of a template repository2.4 - before and after setup of a template repository

  5. Now, your template is ready for editing before you use it.

STEP 3 (Creating Repository from a Template)

  1. 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 template3.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 template3.1.2 - create a new repository from the templateOr click the tab Repositories New.

    3.1.3 - create a new repository from the template3.1.3 - create a new repository from the template

  2. 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 template3.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.

  3. In the Owner drop-down, select the account on which you wish to create the repository.

    3.3 - repository owner3.3 - repository owner

  4. Type a Name for your repository, and fill in an optional Description box.

    3.4 - fill repository name and description3.4 - fill repository name and description

  5. Choose repository visibility.
    • Public repositories = accessible to everyone on the internet
    • Private repositories = are only accessible to you, and people who you share access with, and for organization repositories, specific organization members.

      3.5 - repository visibility3.5 - repository visibility

  6. Check the Add a README file box.
    • You can edit the README file later.

      3.6 - add a readme file3.6 - add a readme file

  7. Click Create Repository.

    3.7 - create a repository button3.7 - create a repository button

  8. Your newly generate template repository is ready.

    3.8 - newly generate template repository3.8 - newly generate template repositoryFinish.


Original Link: https://dev.to/rndsetiawan/creating-github-template-repository-3m5l

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To