Migrate local Git repo to Visual Studio Online from IDE

后端 未结 2 1070
不思量自难忘°
不思量自难忘° 2020-12-31 21:43

I created a new Team Project on Visual Studio Online that I have connected to in Visual Studio 2013. Using the IDE, I cloned a local Git repo (that was pulled down from GitH

2条回答
  •  执笔经年
    2020-12-31 22:15

    The answer marked as correct doesn't appear to be correct. To push an existing local repo to a VSO repo involves following:

    git remote add origin https://.visualstudio.com/DefaultCollection/_git/ git push -u origin --all

    This assumes you've already created in VS Online as a new team project using Git as the source control strategy.

提交回复
热议问题