azure-devops-python-api icon indicating copy to clipboard operation
azure-devops-python-api copied to clipboard

How to get all git repository names of a perticular project

Open sunilsankar opened this issue 3 years ago • 1 comments

Can you please let me know how to get the list of repos

https://docs.microsoft.com/en-us/rest/api/azure/devops/git/repositories/list?view=azure-devops-rest-5.1#gitrepository

sunilsankar avatar Apr 06 '22 13:04 sunilsankar

@sunilsankar, you can get the list of repository object using,

git_client = connection.clients.get_git_client()
_repos = git_client.get_repositories(project=project)

dhanesh012 avatar May 13 '22 04:05 dhanesh012