BitBucket Data Center 如何查看拉取请求中的多个特定提交

BitBucket Data Center how to view multiple specific commits in pull request

在拉取请求中,我可以查看单个提交的差异或整个拉取请求的差异。 例如

http://myUrl/projects/myProj/repos/myRepo/pull-requests/4/commits/hashTwo

http://myUrl/projects/myProj/repos/myRepo/pull-requests/4/diff

在比较屏幕上,我可以区分我想要的任何 2 个提交,例如

http://myUrl/projects/myProj/repos/myRepo/compare/diff?targetBranch=hashOne&sourceBranch=hashTwo&targetRepoId=123

我如何在拉取请求中查看任意提交之间的差异(两者都在该拉取请求中)?

知道了。

http://myUrl/projects/myProj/repos/myRepo/pull-requests/4/commits/hashOne?since=hashTwo

请注意,这似乎只适用于完整哈希,而不适用于短哈希。