We can take advantage of Azure DevOps to synchronize content when using Cloud Shell. The process is simple, and it starts on Azure DevOps. Click on Repos (Item 1), select the desired repo (Item 2), and then click on the Clone button (Item 3).
In this new blade, we need two pieces of information: the location (Item 1) and the password (Item 2).
Having all the pieces together, we can open Cloud Shell and execute the following command to get a copy of the repo we reviewed in the previous steps and provide the password. The result will be a new folder with the content of the repo that we are cloning.
Git clone https://[email protected]/OrganizationName/ProjectName/_git/Repo
More Azure DevOps articles
- Azure DevOps and IaC: Brainstorming practices and processes
- Managing Azure Key Vault access and secrets from DevOps pipeline
- Azure DevOps tips and tricks: Using built-in features
- Azure DevOps service connections: How to set them up and use them
- Azure security: Building a secure subscription with Azure DevOps
More Quick Tips articles
- Restarting your Azure Application Gateway with PowerShell
- Renaming your repos in Azure DevOps
- Visual Studio Code keyboard shortcut to manage your code
- Using Azure ephemeral disks when provisioning VMs with ARM
- Checking services availability in Azure and Azure Stack Hub