最佳答案
How do I find the commit History for Author in All Branches in Azure Devops?
如果你想在 UI 页面查看所有分支内的提交历史,恐怕直到现在,这个功能都不支持。如您所见,它仅支持在一个指定分支中使用 UI 按钮进行过滤。
在我们的官方功能建议网站上,这里已经存在这样的功能建议:View history for whole GIT repository .此外,这里还有另一个正在审核中的功能建议:Show combined git branch history, including common ancestor .我相信它会在不久的将来发布。
备注 : 你可以在那里投票和评论。当有足够的票数时,产品组会将其视为计划。
虽然它无法通过 UI 实现,但您可以尝试另一种解决方法。您可以使用 Rest API在所有分支中按作者过滤提交历史。
这是示例:
GET https://dev.azure.com/{org name}/_apis/git/repositories/{repositoryId}/commits?searchCriteria.author={author name}&api-version=5.1
该 API 可以列出所有分支中过滤的作者的提交记录。
关于.net - Azure DevOps : Search Commit History of Author on ALL Branches,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57191644/