Cloning your scripts folder in your Azure Cloud Shell session

Azure Cloud Shell supplies you with a file share that means that you can retailer your scripts and a few recordsdata that might be persistent amongst your classes. That’s incredible! Nevertheless, I wish to preserve all my scripts in my GitHub, or once I’m sporting my company hat, then a non-public repo in Azure DevOps is the device of alternative. How can we clone the Azure DevOps repo in Cloud Shell or another consumer? The method is easy and requires lower than two minutes to finish.

First, go to your repo (in our case, Scripts) and click on on Clone.

cloud shell scripts

Within the new blade, copy the tackle (Merchandise 1) and memorize (simply kidding!) the password (Merchandise 2)

Now, logged on to your Cloud Shell session or your machine, execute the next command git clone <URL>, the place <URL> is what we had within the earlier step. A password might be required, so paste the password from the final step as effectively. Watch for the replication of the information to happen.

cloud shell scripts

cloud shell scripts

A brand new folder might be created domestically, and it has the title of the repo in our case scripts. Go inside that given folder and checklist the recordsdata, we could have an area copy of our Azure DevOps repo.

cloud shell scripts


Publish Views:
55

Extra Azure DevOps articles






Learn Subsequent


About the Author

Leave a Reply

Your email address will not be published. Required fields are marked *