Wednesday, July 3, 2019

Push code to azure repos using vs code

While creating and pushing code to azure repo in Azure devops , for the first time I have to push code
>git init
>git add .
>git commit -am "Add function app"
>git remote add origin
> git push -u origin –all
Note : In case if you confront an error “Fatal : Remote origin already exists.” while pushing code to Azure Repos
please use this command before “add origin” git remote rm  origin
Please refer below images for references


Post a Comment