azure-devops-python-api
azure-devops-python-api copied to clipboard
How to get all git repository names of a perticular project
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, you can get the list of repository object using,
git_client = connection.clients.get_git_client()
_repos = git_client.get_repositories(project=project)