Skip to content
代码片段 群组 项目
未验证 提交 c6ac460e 编辑于 作者: Brendan Lynch's avatar Brendan Lynch 提交者: GitLab
浏览文件

Merge branch 'DOCS-mmora-master-patch-37647' into 'master'

DOCS Add instructions for specific branch

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183444



Merged-by: default avatarBrendan Lynch <blynch@gitlab.com>
Approved-by: default avatarBrendan Lynch <blynch@gitlab.com>
Reviewed-by: default avatarBrendan Lynch <blynch@gitlab.com>
Co-authored-by: default avatarMario Mora <mmora@gitlab.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -474,6 +474,14 @@ curl --request POST \
--url "https://gitlab.com/api/v4/projects/42/repository/changelog"
```
To specify a branch as a parameter, use the `to` attribute:
```shell
curl --request GET \
--header "PRIVATE-TOKEN: token" \
--url "https://gitlab.com/api/v4/projects/42/repository/changelog?version=1.0.0&to=release/x.x.x"
```
## Generate changelog data
{{< history >}}
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册