diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-07-25 16:37:05 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-07-25 16:37:05 +0000 |
commit | 767c5f63886536eefc4daf081ecba5b45fe8cc3c (patch) | |
tree | f6874ad0f833920ca1eef6639e3f0e892fa76c21 /doc | |
parent | aa9db9c869ecbc570bd03f02dd3febf32f99d560 (diff) | |
parent | 7cf4bf848f9d3018af2c87d7c88b26b7610db995 (diff) | |
download | gitlab-ce-767c5f63886536eefc4daf081ecba5b45fe8cc3c.tar.gz |
Merge branch 'label-descr-push-opts' into 'master'
Support title and desc on merge w/ push option
See merge request gitlab-org/gitlab-ce!31068
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/merge_requests/index.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/user/project/merge_requests/index.md b/doc/user/project/merge_requests/index.md index d5ca853eff5..f78ec9d96e6 100644 --- a/doc/user/project/merge_requests/index.md +++ b/doc/user/project/merge_requests/index.md @@ -343,6 +343,30 @@ git push -o merge_request.remove_source_branch You can also use this push option in addition to the `merge_request.create` push option. +### Set merge request title using git push options + +To set the title of an existing merge request, use +the `merge_request.title` push option: + +```sh +git push -o merge_request.title="The title I want" +``` + +You can also use this push option in addition to the +`merge_request.create` push option. + +### Set merge request description using git push options + +To set the description of an existing merge request, use +the `merge_request.description` push option: + +```sh +git push -o merge_request.description="The description I want" +``` + +You can also use this push option in addition to the +`merge_request.create` push option. + ## Find the merge request that introduced a change > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/2383) in GitLab 10.5. |