@@ -18,36 +18,24 @@ submit them through a merge request to the repository you don't have access to.
...
@@ -18,36 +18,24 @@ submit them through a merge request to the repository you don't have access to.
## Creating a fork
## Creating a fork
To fork an existing project in GitLab:
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/15013) a new form in GitLab 13.11 [with a flag](../../../user/feature_flags.md) named `fork_project_form`. Disabled by default.
> - [Enabled on GitLab.com and self-managed](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/77181) in GitLab 14.8. Feature flag `fork_project_form` removed.
1. On the project's home page, in the top right, click **{fork}****Fork**.
- Experimental method. If your GitLab administrator has
enabled the experimental fork project form, read
[Create a fork with the fork project form](#create-a-fork-with-the-fork-project-form).
Only namespaces where you have at least the Developer role for are shown.
NOTE:
The project path must be unique in the namespace.
GitLab creates your fork, and redirects you to the project page for your new fork.
1. On the project's home page, in the top right, select **{fork}****Fork**:
The permissions you have in the namespace are your permissions in the fork.
![Fork this project](img/forking_workflow_fork_button_v13_10.png)
1. Optional. Edit the **Project name**.
1. For **Project URL**, select the [namespace](../../group/index.md#namespaces)
your fork should belong to.
1. Add a **Project slug**. This value becomes part of the URL to your fork.
It must be unique in the namespace.
1. Optional. Add a **Project description**.
1. Select the **Visibility level** for your fork. For more information about
visibility levels, read [Project and group visibility](../../../public_access/public_access.md).
1. Select **Fork project**.
WARNING:
GitLab creates your fork, and redirects you to the new fork's page.
When a public project with the repository feature set to **Members Only**
is forked, the repository is public in the fork. The owner
of the fork must manually change the visibility. Issue
[#36662](https://gitlab.com/gitlab-org/gitlab/-/issues/36662) exists for this issue.
## Repository mirroring
## Repository mirroring
...
@@ -81,24 +69,3 @@ changes are added to the repository and branch you're merging into.
...
@@ -81,24 +69,3 @@ changes are added to the repository and branch you're merging into.
## Removing a fork relationship
## Removing a fork relationship
You can unlink your fork from its upstream project in the [advanced settings](../settings/index.md#removing-a-fork-relationship).
You can unlink your fork from its upstream project in the [advanced settings](../settings/index.md#removing-a-fork-relationship).
## Create a fork with the fork project form **(FREE SELF)**
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/15013) in GitLab 13.11 [with a flag](../../../administration/feature_flags.md) named `fork_project_form`. Disabled by default.
> - [Enabled on self-managed and GitLab.com](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64967) in GitLab 13.8.
FLAG:
On self-managed GitLab, by default this feature is available. To hide the feature, ask an administrator to [disable the feature flag](../../../administration/feature_flags.md) named `fork_project_form`.
On GitLab.com, this feature is available.
This version of the fork project form is experimental:
![Choose namespace](img/fork_form_v13_10.png)
To use it, follow the instructions at [Creating a fork](#creating-a-fork) and provide:
msgid "ForkProject|Select a namespace to fork the project"
msgstr ""
msgid "ForkProject|The project can be accessed by any logged in user."
msgid "ForkProject|The project can be accessed by any logged in user."
msgstr ""
msgstr ""
...
@@ -16864,9 +16861,6 @@ msgstr ""
...
@@ -16864,9 +16861,6 @@ msgstr ""
msgid "Go to find file"
msgid "Go to find file"
msgstr ""
msgstr ""
msgid "Go to fork"
msgstr ""
msgid "Go to issue boards"
msgid "Go to issue boards"
msgstr ""
msgstr ""
...
@@ -17668,9 +17662,6 @@ msgstr ""
...
@@ -17668,9 +17662,6 @@ msgstr ""
msgid "Groups and projects"
msgid "Groups and projects"
msgstr ""
msgstr ""
msgid "Groups and subgroups"
msgstr ""
msgid "Groups are a great way to organize projects and people."
msgid "Groups are a great way to organize projects and people."
msgstr ""
msgstr ""
...
@@ -24561,9 +24552,6 @@ msgstr ""
...
@@ -24561,9 +24552,6 @@ msgstr ""
msgid "No available branches"
msgid "No available branches"
msgstr ""
msgstr ""
msgid "No available groups to fork the project."
msgstr ""
msgid "No branches found"
msgid "No branches found"
msgstr ""
msgstr ""
...
@@ -42073,9 +42061,6 @@ msgstr ""
...
@@ -42073,9 +42061,6 @@ msgstr ""
msgid "You have not added any approvers. Start by adding users or groups."
msgid "You have not added any approvers. Start by adding users or groups."
msgstr ""
msgstr ""
msgid "You have reached your project limit"
msgstr ""
msgid "You have set up 2FA for your account! If you lose access to your 2FA device, you can use your recovery codes to access your account. Alternatively, if you upload an SSH key, you can %{anchorOpen}use that key to generate additional recovery codes%{anchorClose}."
msgid "You have set up 2FA for your account! If you lose access to your 2FA device, you can use your recovery codes to access your account. Alternatively, if you upload an SSH key, you can %{anchorOpen}use that key to generate additional recovery codes%{anchorClose}."
msgstr ""
msgstr ""
...
@@ -42106,12 +42091,6 @@ msgstr ""
...
@@ -42106,12 +42091,6 @@ msgstr ""
msgid "You must have maintainer access to force delete a lock"
msgid "You must have maintainer access to force delete a lock"
msgstr ""
msgstr ""
msgid "You must have permission to create a project in a group before forking."
msgstr ""
msgid "You must have permission to create a project in a namespace before forking."