diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 18:10:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-27 18:10:39 +0300 |
commit | f719944deedf392d98947cb1c499169696c8da70 (patch) | |
tree | 246cfc50c88569edf1077b2e4927df4154f77150 /doc/api/commits.md | |
parent | 0afd7f18171f70cb8f4296ff9a32381c6919027f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/commits.md')
-rw-r--r-- | doc/api/commits.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index 8feea5fa9c2..a2d13ec5166 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -305,6 +305,7 @@ Parameters: | `sha` | string | yes | The commit hash | | `branch` | string | yes | The name of the branch | | `dry_run` | boolean | no | Does not commit any changes. Default is false. [Introduced in GitLab 13.3](https://gitlab.com/gitlab-org/gitlab/-/issues/231032) | +| `message` | string | no | A custom commit message to use for the new commit. [Introduced in GitLab 14.0](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62481) ```shell curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" --form "branch=master" "https://gitlab.example.com/api/v4/projects/5/repository/commits/master/cherry_pick" |