1
0
mirror of synced 2025-12-22 03:16:52 -05:00

Add note about unrelated histories when using templates

This commit is contained in:
Steve Guntrip
2021-05-10 14:42:29 +01:00
parent 9af6a6aeb7
commit a99d8f8e35

View File

@@ -24,7 +24,7 @@ Anyone with read permissions to a template repository can create a repository fr
{% endif %}
{% if currentVersion == "free-pro-team@latest" or currentVersion == "github-ae@latest" or currentVersion ver_gt "enterprise-server@2.20" %}
You can choose to include the directory structure and files from only the default branch of the template repository or to include all branches.
You can choose to include the directory structure and files from only the default branch of the template repository or to include all branches. Branches created from a template have no shared history, instead starting with a single commit, which means you cannot create pull requests or merge between them.
{% endif %}
Creating a repository from a template is similar to forking a repository, but there are important differences: