2018-03-17 18:26:18 +05:30
# Project settings
NOTE: **Note:**
2020-03-13 15:44:24 +05:30
Only project Maintainers and Admin users have the [permissions ](../../permissions.md#project-members-permissions )
to access a project settings.
2018-03-17 18:26:18 +05:30
You can adjust your [project ](../index.md ) settings by navigating
to your project's homepage and clicking **Settings** .
## General settings
2019-09-30 21:07:59 +05:30
Under a project's general settings, you can find everything concerning the
2018-03-17 18:26:18 +05:30
functionality of a project.
### General project settings
2019-03-02 22:35:43 +05:30
Adjust your project's name, description, avatar, [default branch ](../repository/branches/index.md#default-branch ), and topics:
2018-03-17 18:26:18 +05:30
![general project settings ](img/general_settings.png )
2020-01-01 13:55:28 +05:30
The project description also partially supports [standard Markdown ](../../markdown.md#standard-markdown-and-extensions-in-gitlab ). You can use [emphasis ](../../markdown.md#emphasis ), [links ](../../markdown.md#links ), and [line-breaks ](../../markdown.md#line-breaks ) to add more context to the project description.
2019-02-15 15:39:39 +05:30
2020-05-24 23:13:21 +05:30
#### Compliance framework **(ULTIMATE)**
You can select a framework label to identify that your project has certain compliance requirements or needs additional oversight. Available labels include:
- GDPR - General Data Protection Regulation
- HIPAA - Health Insurance Portability and Accountability Act
- PCI-DSS - Payment Card Industry-Data Security Standard
- SOC 2 - Service Organization Control 2
- SOX - Sarbanes-Oxley
2018-03-17 18:26:18 +05:30
### Sharing and permissions
2020-03-13 15:44:24 +05:30
For your repository, you can set up features such as public access, repository features,
documentation, access permissions, and more. To do so from your project,
go to **Settings** > **General** , and expand the **Visibility, project features, permissions**
section.
2018-03-17 18:26:18 +05:30
2020-03-13 15:44:24 +05:30
You can now change the [Project visibility ](../../../public_access/public_access.md ).
If you set **Project Visibility** to public, you can limit access to some features
to **Only Project Members** . In addition, you can select the option to
[Allow users to request access ](../members/index.md#project-membership-and-requesting-access ).
2018-03-17 18:26:18 +05:30
2020-01-01 13:55:28 +05:30
CAUTION: **Caution:**
2020-03-13 15:44:24 +05:30
If you [reduce a project's visibility level ](../../../public_access/public_access.md#reducing-visibility ),
that action unlinks all forks of that project.
Use the switches to enable or disable the following features:
| Option | More access limit options | Description |
|:----------------------------------|:--------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Issues** | ✓ | Activates the GitLab issues tracker |
| **Repository** | ✓ | Enables [repository ](../repository/ ) functionality |
| **Merge Requests** | ✓ | Enables [merge request ](../merge_requests/ ) functionality; also see [Merge request settings ](#merge-request-settings ) |
| **Forks** | ✓ | Enables [forking ](../index.md#fork-a-project ) functionality |
| **Pipelines** | ✓ | Enables [CI/CD ](../../../ci/README.md ) functionality |
2020-06-23 00:09:42 +05:30
| **Container Registry** | | Activates a [registry ](../../packages/container_registry/ ) for your Docker images |
2020-05-24 23:13:21 +05:30
| **Git Large File Storage** | | Enables the use of [large files ](../../../topics/git/lfs/index.md#git-large-file-storage-lfs ) |
2020-03-13 15:44:24 +05:30
| **Packages** | | Supports configuration of a [package registry ](../../../administration/packages/index.md#gitlab-package-registry-administration-premium-only ) functionality |
| **Wiki** | ✓ | Enables a separate system for [documentation ](../wiki/ ) |
| **Snippets** | ✓ | Enables [sharing of code and text ](../../snippets.md ) |
| **Pages** | ✓ | Allows you to [publish static websites ](../pages/ ) |
2020-05-24 23:13:21 +05:30
| **Metrics Dashboard** | ✓ | Control access to [metrics dashboard ](../integrations/prometheus.md )
2020-03-13 15:44:24 +05:30
Some features depend on others:
- If you disable the **Issues** option, GitLab also removes the following
features:
- **Issue Boards**
2020-05-24 23:13:21 +05:30
- [**Service Desk** ](#service-desk-starter ) ** (STARTER)**
2020-03-13 15:44:24 +05:30
NOTE: **Note:**
When the **Issues** option is disabled, you can still access **Milestones**
from merge requests.
- Additionally, if you disable both **Issues** and **Merge Requests** , you will no
longer have access to:
- **Labels**
- **Milestones**
- If you disable **Repository** functionality, GitLab also disables the following
features for your project:
- **Merge Requests**
- **Pipelines**
- **Container Registry**
- **Git Large File Storage**
- **Packages**
2019-12-04 20:38:33 +05:30
2020-05-24 23:13:21 +05:30
- Metrics dashboard access requires reading both project environments and deployments.
Users with access to the metrics dashboard can also access environments and deployments.
2019-10-12 21:52:04 +05:30
#### Disabling email notifications
2020-03-13 15:44:24 +05:30
Project owners can disable all [email notifications ](../../profile/notifications.md#gitlab-notification-emails )
related to the project by selecting the **Disable email notifications** checkbox.
2018-03-17 18:26:18 +05:30
### Merge request settings
Set up your project's merge request settings:
2020-03-13 15:44:24 +05:30
- Set up the merge request method (merge commit, [fast-forward merge ](../merge_requests/fast_forward_merge.md )).
2019-12-26 22:10:19 +05:30
- Add merge request [description templates ](../description_templates.md#description-templates ).
2019-09-30 21:07:59 +05:30
- Enable [merge request approvals ](../merge_requests/merge_request_approvals.md ). ** (STARTER)**
2019-12-26 22:10:19 +05:30
- Enable [merge only if pipeline succeeds ](../merge_requests/merge_when_pipeline_succeeds.md ).
- Enable [merge only when all threads are resolved ](../../discussions/index.md#only-allow-merge-requests-to-be-merged-if-all-threads-are-resolved ).
2020-03-13 15:44:24 +05:30
- Enable [`delete source branch after merge` option by default ](../merge_requests/getting_started.md#deleting-the-source-branch )
- Configure [suggested changes commit messages ](../../discussions/index.md#configure-the-commit-message-for-applied-suggestions )
2018-03-17 18:26:18 +05:30
![project's merge request settings ](img/merge_requests_settings.png )
2020-05-24 23:13:21 +05:30
### Service Desk **(STARTER)**
2018-03-17 18:26:18 +05:30
2019-09-04 21:01:54 +05:30
Enable [Service Desk ](../service_desk.md ) for your project to offer customer support.
2018-03-17 18:26:18 +05:30
### Export project
Learn how to [export a project ](import_export.md#importing-the-project ) in GitLab.
### Advanced settings
2020-03-13 15:44:24 +05:30
Here you can run housekeeping, archive, rename, transfer, [remove a fork relationship ](#removing-a-fork-relationship ), or remove a project.
2018-03-17 18:26:18 +05:30
#### Archiving a project
2020-03-13 15:44:24 +05:30
Archiving a project makes it read-only for all users and indicates that it's
2018-05-09 12:01:36 +05:30
no longer actively maintained. Projects that have been archived can also be
2020-03-13 15:44:24 +05:30
unarchived. Only project Owners and Admin users have the
[permissions ](../../permissions.md#project-members-permissions ) to archive a project.
2018-05-09 12:01:36 +05:30
2020-04-08 14:13:33 +05:30
When a project is archived, the repository, issues, merge requests, and all
2018-05-09 12:01:36 +05:30
other features are read-only. Archived projects are also hidden
in project listings.
To archive a project:
2018-03-17 18:26:18 +05:30
2020-03-13 15:44:24 +05:30
1. Navigate to your project's ** {settings}** **Settings > General** .
1. Under **Advanced** , click **Expand** .
1. In the **Archive project** section, click the **Archive project** button.
1. Confirm the action when asked to.
#### Unarchiving a project
Unarchiving a project removes the read-only restriction on a project, and makes it
available in project listings. Only project Owners and Admin users have the
[permissions ](../../permissions.md#project-members-permissions ) to unarchive a project.
To find an archived project:
1. Sign in to GitLab as a user with project Owner or Admin permissions.
1. If you:
- Have the project's URL, open the project's page in your browser.
- Don't have the project's URL:
1. Click **Projects > Explore projects** .
1. In the **Sort projects** dropdown box, select **Show archived projects** .
1. In the **Filter by name** field, provide the project's name.
1. Click the link to the project to open its **Details** page.
Next, to unarchive the project:
1. Navigate to your project's ** {settings}** **Settings > General** .
1. Under **Advanced** , click **Expand** .
1. In the **Unarchive project** section, click the **Unarchive project** button.
2018-03-17 18:26:18 +05:30
1. Confirm the action when asked to.
#### Renaming a repository
NOTE: **Note:**
2020-03-13 15:44:24 +05:30
Only project Maintainers and Admin users have the [permissions ](../../permissions.md#project-members-permissions ) to rename a
2018-03-17 18:26:18 +05:30
repository. Not to be confused with a project's name where it can also be
changed from the [general project settings ](#general-project-settings ).
A project's repository name defines its URL (the one you use to access the
project via a browser) and its place on the file disk where GitLab is installed.
To rename a repository:
2020-03-13 15:44:24 +05:30
1. Navigate to your project's ** {settings}** **Settings > General** .
1. Under **Advanced** , click **Expand** .
2018-03-17 18:26:18 +05:30
1. Under "Rename repository", change the "Path" to your liking.
1. Hit **Rename project** .
Remember that this can have unintended side effects since everyone with the
2020-03-13 15:44:24 +05:30
old URL won't be able to push or pull. Read more about what happens with the
2018-03-17 18:26:18 +05:30
[redirects when renaming repositories ](../index.md#redirects-when-changing-repository-paths ).
#### Transferring an existing project into another namespace
NOTE: **Note:**
2020-03-13 15:44:24 +05:30
Only project Owners and Admin users have the [permissions ](../../permissions.md#project-members-permissions )
to transfer a project.
2018-03-17 18:26:18 +05:30
You can transfer an existing project into a [group ](../../group/index.md ) if:
2020-06-23 00:09:42 +05:30
- You have at least **Maintainer** [permissions ](../../permissions.md#project-members-permissions ) to that group.
- You're at least an **Owner** of the project to be transferred.
- The group to which the project is being transferred to must allow creation of new projects.
2018-03-17 18:26:18 +05:30
To transfer a project:
2020-03-13 15:44:24 +05:30
1. Navigate to your project's ** {settings}** **Settings > General** .
1. Under **Advanced** , click **Expand** .
2018-03-17 18:26:18 +05:30
1. Under "Transfer project", choose the namespace you want to transfer the
project to.
1. Confirm the transfer by typing the project's path as instructed.
Once done, you will be taken to the new project's namespace. At this point,
read what happens with the
[redirects from the old project to the new one ](../index.md#redirects-when-changing-repository-paths ).
NOTE: **Note:**
GitLab administrators can use the admin interface to move any project to any
namespace if needed.
2020-03-13 15:44:24 +05:30
#### Remove a project
NOTE: **Note:**
2020-04-08 14:13:33 +05:30
Only project owners and admins have [permissions ](../../permissions.md#project-members-permissions ) to remove a project.
2020-03-13 15:44:24 +05:30
To remove a project:
1. Navigate to your project, and select ** {settings}** **Settings > General > Advanced** .
1. In the Remove project section, click the **Remove project** button.
1. Confirm the action when asked to.
This action either:
- Removes a project including all associated resources (issues, merge requests etc).
2020-06-23 00:09:42 +05:30
- Since [GitLab 12.6 ](https://gitlab.com/gitlab-org/gitlab/-/issues/32935 ), on
2020-04-08 14:13:33 +05:30
[GitLab Premium or GitLab.com Silver ](https://about.gitlab.com/pricing/ ) or higher tiers, marks a project for
deletion. The deletion will happen 7 days later by default, but this can be changed in the
[instance settings ](../../admin_area/settings/visibility_and_access_controls.md#default-deletion-adjourned-period-premium-only ).
2020-03-13 15:44:24 +05:30
2020-04-08 14:13:33 +05:30
#### Restore a project **(PREMIUM)**
2020-03-13 15:44:24 +05:30
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/32935) in GitLab 12.6.
2020-03-13 15:44:24 +05:30
To restore a project marked for deletion:
1. Navigate to your project, and select ** {settings}** **Settings > General > Advanced** .
1. In the Restore project section, click the **Restore project** button.
#### Removing a fork relationship
Forking is a great way to [contribute to a project ](../repository/forking_workflow.md )
of which you're not a member.
If you want to use the fork for yourself and don't need to send
[merge requests ](../merge_requests.md ) to the upstream project,
you can safely remove the fork relationship.
2020-04-08 14:13:33 +05:30
CAUTION: **Caution:**
Once removed, the fork relationship cannot be restored. You will no longer be able to send merge requests to the source, and if anyone has forked your project, their fork will also lose the relationship.
2020-03-13 15:44:24 +05:30
To do so:
1. Navigate to your project's **Settings > General > Advanced** .
1. Under **Remove fork relationship** , click the likewise-labeled button.
1. Confirm the action by typing the project's path as instructed.
NOTE: **Note:**
2020-05-24 23:13:21 +05:30
Only project owners have the [permissions ](../../permissions.md#project-members-permissions )
2020-03-13 15:44:24 +05:30
to remove a fork relationship.
2019-02-15 15:39:39 +05:30
## Operations settings
### Error Tracking
Configure Error Tracking to discover and view [Sentry errors within GitLab ](../operations/error_tracking.md ).
2019-07-31 22:56:46 +05:30
2019-09-30 21:07:59 +05:30
### Jaeger tracing **(ULTIMATE)**
2019-07-31 22:56:46 +05:30
Add the URL of a Jaeger server to allow your users to [easily access the Jaeger UI from within GitLab ](../operations/tracing.md ).
2020-06-23 00:09:42 +05:30
### Status Page
[Add Storage credentials ](../status_page/#syncing-incidents-to-the-status-page )
to enable the syncing of public Issues to a [deployed status page ](../status_page/#status-page-project ).