Sam
Sam

Reputation: 30344

Checking in existing code into a new repo on Azure DevOps

I'm trying to check a new app I created using Visual Studio Code on my local machine into a new repo on Azure DevOps. I'm using Git as my version control.

Could someone point me to an article or give me the steps? The articles I found all point to checking an existing project FROM a repo TO my computer. I need to do it the other way around. FROM my computer TO a new repo on Azure DevOps.

Upvotes: 2

Views: 1012

Answers (1)

Tanveer Yousuf
Tanveer Yousuf

Reputation: 406

After committing your changes in your local repo, you can execute the following command in VS Code terminal:

git remote add origin https://DevOps.Azure.com/<....>

git remote -v

git push -u origin master

Upvotes: 1

Related Questions