diff options
Diffstat (limited to 'doc/user/project/push_options.md')
-rw-r--r-- | doc/user/project/push_options.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/project/push_options.md b/doc/user/project/push_options.md index e8451e3049d..6c89e09bd47 100644 --- a/doc/user/project/push_options.md +++ b/doc/user/project/push_options.md @@ -45,7 +45,8 @@ Git push options can perform actions for merge requests while pushing changes: | Push option | Description | |----------------------------------------------|-------------| | `merge_request.create` | Create a new merge request for the pushed branch. | -| `merge_request.target=<branch_name>` | Set the target of the merge request to a particular branch or upstream project, such as: `git push -o merge_request.target=project_path/branch`. | +| `merge_request.target=<branch_name>` | Set the target of the merge request to a particular branch, such as: `git push -o merge_request.target=branch_name`. | +| `merge_request.target_project=<project>` | Set the target of the merge request to a particular upstream project, such as: `git push -o merge_request.target_project=path/to/project`. Introduced in [GitLab 16.6](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/132475). | | `merge_request.merge_when_pipeline_succeeds` | Set the merge request to [merge when its pipeline succeeds](merge_requests/merge_when_pipeline_succeeds.md). | | `merge_request.remove_source_branch` | Set the merge request to remove the source branch when it's merged. | | `merge_request.title="<title>"` | Set the title of the merge request. For example: `git push -o merge_request.title="The title I want"`. | |