1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Update content/github/creating-cloning-and-archiving-repositories/creating-a-template-repository.md

Co-authored-by: Laura Coursen <lecoursen@github.com>
This commit is contained in:
Steve Guntrip
2021-05-12 09:11:36 +01:00
committed by GitHub
parent 3fea71dea5
commit 90b6634915

View File

@@ -20,7 +20,7 @@ topics:
To create a template repository, you must create a repository, then make the repository a template. For more information about creating a repository, see "[Creating a new repository](/articles/creating-a-new-repository)."
After you make your repository a template, anyone with access to the repository can generate a new repository with the same directory structure and files as your default branch.{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %} They can also choose to include all the other branches in your repository. Branches created from a template have unrelated histories, which means it is not possible to open pull requests or merge between them.{% endif %} For more information, see "[Creating a repository from a template](/articles/creating-a-repository-from-a-template)."
After you make your repository a template, anyone with access to the repository can generate a new repository with the same directory structure and files as your default branch.{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %} They can also choose to include all the other branches in your repository. Branches created from a template have unrelated histories, so you cannot create pull requests or merge between the branches.{% endif %} For more information, see "[Creating a repository from a template](/articles/creating-a-repository-from-a-template)."
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}