As we know, every commit in a repository has a comment:
Is there a way in Azure Repos to find all commits filtering by comments? For instance:
Find all commits with comments containing keyword 'sonar'
As we know, every commit in a repository has a comment:
Is there a way in Azure Repos to find all commits filtering by comments? For instance:
Find all commits with comments containing keyword 'sonar'
On
No, it is not available in Azure DevOps. You may use Visual Studio Git History search. There is a feature request for your case: Search / Filter commit messages
The function is not available in Azure DevOps web page currently.
Workaround:
The following is a PowerShell script that uses Azure DevOps REST API to find the comments containing the keyword you need. I filtered the top 1000 records. You can also refer to the examples here to filter the records you need.
My test result:
Update:
This is the sample to cross search all projects and repos for given organization. It also filtered the top 1000 records for each repo.