Saturday, March 26, 2022

How to push a local Git repository to a new remote repository in Azure DevOps from Visual Studio Code?

* Make a new empty repository without add a README in Azure DevOps.
* Copy the Url from the Push an existing repository from the command line (Omit git remote add origin)
* Go to VSCode to add a new remote with Url above and named it myAzureDevOps for example (similar as git remote add origin [https://...)]https://...)
* After add remote successful, then push to remote (myAzureDevOps) (git push -u origin --all)
* Check Azure DevOps using browser

No comments:

Post a Comment

How to recognize a fake Geek Squad renewal scam | Consumer Advice

Except from Scammers are at it ag...