debian-mirror-gitlab/doc/user/group/custom_project_templates.md

45 lines
2.2 KiB
Markdown
Raw Normal View History

2019-09-04 21:01:54 +05:30
---
type: reference
2020-06-23 00:09:42 +05:30
stage: Manage
group: Import
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers
2019-09-04 21:01:54 +05:30
---
2019-09-30 21:07:59 +05:30
# Custom group-level project templates **(PREMIUM)**
2019-02-15 15:39:39 +05:30
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/6861) in [GitLab Premium](https://about.gitlab.com/pricing/) 11.6.
2019-02-15 15:39:39 +05:30
2019-03-02 22:35:43 +05:30
When you create a new [project](../project/index.md), creating it based on custom project templates is
2019-12-21 20:55:43 +05:30
a convenient option.
2019-03-02 22:35:43 +05:30
Users can configure a GitLab group that serves as template
source under a group's **Settings > General > Custom project templates**.
NOTE: **Note:**
GitLab administrators can
[set project templates for an entire GitLab instance](../admin_area/custom_project_templates.md).
2019-02-15 15:39:39 +05:30
Within this section, you can configure the group where all the custom project
2020-10-04 03:57:07 +05:30
templates are sourced. Every project _template_ directly under the group namespace is
available to every signed-in user, if all enabled [project features](../project/settings/index.md#sharing-and-permissions) are set to **Everyone With Access**.
2019-02-15 15:39:39 +05:30
2019-03-02 22:35:43 +05:30
However, private projects will be available only if the user is a member of the project.
NOTE: **Note:**
2019-09-30 21:07:59 +05:30
Only direct subgroups can be set as the template source. Projects of nested subgroups of a selected template source cannot be used.
2019-02-15 15:39:39 +05:30
Repository and database information that are copied over to each new project are
identical to the data exported with [GitLab's Project Import/Export](../project/settings/import_export.md).
2019-09-04 21:01:54 +05:30
<!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues
one might have when setting this up, or when something is changed, or on upgrading, it's
important to describe those, too. Think of things that may go wrong and include them here.
This is important to minimize requests for support, and to avoid doc comments with
questions that you know someone might ask.
Each scenario can be a third-level heading, e.g. `### Getting error message X`.
If you have none to add when creating a doc, leave this section in place
but commented out to help encourage others to add to it in the future. -->