Created
May 18, 2020 10:43
-
-
Save anuragdhingra/fd506fea00a2c64bd3954cc07305dce6 to your computer and use it in GitHub Desktop.
Revisions
-
Anurag Dhingra created this gist
May 18, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ 1. Install Azure CLI ```sh brew install azure-cli ``` 2. Add the DevOps CLI extension - ```sh az extension add --name azure-devops ``` 3. Set your default organization and project - ```sh az devops configure --defaults organization=https://dev.azure.com/myorg project=myproject ``` 4. Clone, all at once - ```sh az repos list | jq -r '.[].webUrl' | while read webUrl ; do git clone "${webUrl}" ; done ```