Commit acde23af authored by Marcia Ramos's avatar Marcia Ramos

Merge branch '199074-msj-create-mr-button-docs' into 'master'

Clarify when the Create MR button doesn't appear

Closes #199074

See merge request gitlab-org/gitlab!24083
parents 3cc58de4 26e73f5a
...@@ -75,7 +75,7 @@ ready. ...@@ -75,7 +75,7 @@ ready.
To keep files in the repository organized it is often helpful to create a new To keep files in the repository organized it is often helpful to create a new
directory. directory.
From a project's files page, click the '+' button to the right of the branch selector. From a project's files page, click the plus button (`+`) to the right of the branch selector.
Choose **New directory** from the dropdown. Choose **New directory** from the dropdown.
![New directory dropdown](img/web_editor_new_directory_dropdown.png) ![New directory dropdown](img/web_editor_new_directory_dropdown.png)
...@@ -91,14 +91,21 @@ There are multiple ways to create a branch from GitLab's web interface. ...@@ -91,14 +91,21 @@ There are multiple ways to create a branch from GitLab's web interface.
### Create a new branch from an issue ### Create a new branch from an issue
> [Introduced][ce-2808] in GitLab 8.6. > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/merge_requests/2808) in GitLab 8.6.
If your development workflow dictates to have an issue for every merge
request, you can quickly create a branch directly from the issue to speed the process up.
The new branch, and later its merge request, will be marked as related to this issue.
Once merged, the MR will automatically close the issue.
You can see a **Create merge request** dropdown below the issue description.
In case your development workflow dictates to have an issue for every merge NOTE: **Note:**
request, you can quickly create a branch right on the issue page which will be You won't see the **Create merge request** button if there is already a branch with the same
tied with the issue itself. You can see a **Create merge request** dropdown name or a referenced merge request or your project has an active
below the issue description unless there is already a branch with the same fork relationship.
name or a referenced merge request or your project (still) has an active If you would like to make this button appear, a possible workaround is to [remove your project's
[fork relationship](../settings/index.md#advanced-settings). fork relationship](../settings/index.md#removing-a-fork-relationship). Once removed, the fork
relationship cannot be restored and you will no longer be able to send merge requests to the source.
![Create Button](img/web_editor_new_branch_from_issue_create_button_v12_6.png) ![Create Button](img/web_editor_new_branch_from_issue_create_button_v12_6.png)
...@@ -181,8 +188,6 @@ If you'd prefer _not_ to use your primary email address for commits created ...@@ -181,8 +188,6 @@ If you'd prefer _not_ to use your primary email address for commits created
through the web editor, you can choose to use another of your linked email through the web editor, you can choose to use another of your linked email
addresses from the **User Settings > Edit Profile** page. addresses from the **User Settings > Edit Profile** page.
[ce-2808]: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/2808
<!-- ## Troubleshooting <!-- ## Troubleshooting
Include any troubleshooting steps that you can foresee. If you know beforehand what issues Include any troubleshooting steps that you can foresee. If you know beforehand what issues
......
...@@ -215,9 +215,12 @@ To remove a project: ...@@ -215,9 +215,12 @@ To remove a project:
This action either: This action either:
- Removes a project including all associated resources (issues, merge requests etc). - Removes a project including all associated resources (issues, merge requests etc).
- Since [GitLab 12.6](https://gitlab.com/gitlab-org/gitlab/issues/32935), on [Premium or 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). - Since [GitLab 12.6](https://gitlab.com/gitlab-org/gitlab/issues/32935), on
[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).
### Restore a project **(PREMIUM)** #### Restore a project **(PREMIUM)**
> [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/32935) in GitLab 12.6. > [Introduced](https://gitlab.com/gitlab-org/gitlab/issues/32935) in GitLab 12.6.
...@@ -234,6 +237,9 @@ If you want to use the fork for yourself and don't need to send ...@@ -234,6 +237,9 @@ If you want to use the fork for yourself and don't need to send
[merge requests](../merge_requests.md) to the upstream project, [merge requests](../merge_requests.md) to the upstream project,
you can safely remove the fork relationship. you can safely remove the fork relationship.
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.
To do so: To do so:
1. Navigate to your project's **Settings > General > Advanced**. 1. Navigate to your project's **Settings > General > Advanced**.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment