Cherry pick commit into a branch
POST
/v3/projects/{id}/repository/commits/{sha}/cherry_pickThis feature was introduced in GitLab 8.15
请求参数
Path 参数
id
string
必需
The ID of a project
sha
string
必需
A commit sha to be cherry picked
Body 参数application/x-www-form-urlencoded
branch
string
必需
The name of the branch
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Cherry pick commit into a branch
数据结构
Get the commits of a merge request
id
string
可选
short_id
string
可选
title
string
可选
author_name
string
可选
author_email
string
可选
created_at
string
可选
committer_name
string
可选
committer_email
string
可选
message
string
可选
示例
{
"id": "string",
"short_id": "string",
"title": "string",
"author_name": "string",
"author_email": "string",
"created_at": "string",
"committer_name": "string",
"committer_email": "string",
"message": "string"
}
最后修改时间: 1 个月前