Skip to content

Instantly share code, notes, and snippets.

@kh0ma
Last active April 19, 2023 19:35
Show Gist options
  • Save kh0ma/3e943ad73af7a55a6cfe158d3eafab21 to your computer and use it in GitHub Desktop.
Save kh0ma/3e943ad73af7a55a6cfe158d3eafab21 to your computer and use it in GitHub Desktop.
Git clone all repos from azure devops project
# MacOs
brew install cfssl jq
az login
az devops configure --defaults organization=https://dev.azure.com/your-org
az devops configure --defaults project=your-project
az repos list # say yes
az repos list | jq -c '.[].sshUrl' | xargs -L 1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment