如何定义拉取请求目的地 Git 分支?对于藏匿
How define pull request destination Git branch? For Stash
获取:
git fetch --tags --progress ssh://git@gitscm.company.com/project/repository.git +refs/pull-requests/*:refs/remotes/origin/pull-request/*
结果:
+ 6f39c4e...b2fd4cd refs/pull-requests/1139/merge -> origin/pull-request/1139/merge (forced update)
+ b4f274b...dd71491 refs/pull-requests/1499/merge -> origin/pull-request/1499/merge (forced update)
但是没有关于目标分支的信息。
怎么定义?
使用REST API,我想应该对你有帮助。
获取:
git fetch --tags --progress ssh://git@gitscm.company.com/project/repository.git +refs/pull-requests/*:refs/remotes/origin/pull-request/*
结果:
+ 6f39c4e...b2fd4cd refs/pull-requests/1139/merge -> origin/pull-request/1139/merge (forced update)
+ b4f274b...dd71491 refs/pull-requests/1499/merge -> origin/pull-request/1499/merge (forced update)
但是没有关于目标分支的信息。
怎么定义?
使用REST API,我想应该对你有帮助。