我想使用 shell 脚本在 api 的帮助下删除 repo 中的特定分支
我已经阅读了官方文档https://docs.atlassian.com/bitbucket-server/rest/4.14.4/bitbucket-branch-rest.html,其中包含删除回购所有分支但不是特定分支的 api 详细信息在回购
我想使用 shell 脚本在 api 的帮助下删除 repo 中的特定分支
我已经阅读了官方文档https://docs.atlassian.com/bitbucket-server/rest/4.14.4/bitbucket-branch-rest.html,其中包含删除回购所有分支但不是特定分支的 api 详细信息在回购
得到答案,下面是api
{bitbucket_url}/rest/branch-utils/1.0/projects/{project_name}/repos/{repo_name}/branches -H "content-type: application/json" -d "{"name": "{branch_name}" , “干运行”:假}“