- Install Azure CLI
brew install azure-cli
- Add the DevOps CLI extension -
az extension add --name azure-devops
- Set your default organization and project -
az devops configure --defaults organization=https://dev.azure.com/myorg project=myproject
- Clone, all at once -
az repos list | jq -r '.[].webUrl' | while read webUrl ; do git clone "${webUrl}" ; done
@pradeepradyumna you need to have installed "jq" package.
az repos list | jq -r '.[].webUrl' | while read webUrl ; do git clone "${webUrl}" ; done