Publish local Git repository to Team Foundation Service

前端 未结 12 660
灰色年华
灰色年华 2020-12-13 14:33

About a week ago Git support was added to Visual Studio 2012 and Team Foundation Service. I\'ve been playing around with it a bit and wanted to publish a local repository to

12条回答
  •  再見小時候
    2020-12-13 15:29

    I had this same exact problem. I was able to resolve it by restarting Visual Studio completely, opening Team Explorer, then navigating to my local repo. I opened up my local .sln, then clicked on "Changes", "Commits" and it then had an area where I could Publish the project to a URL. I took that URL such as: https://myapps.visualstudio.com/DefaultCollection/_git/MySolution and then clicked "Publish" (I had to do it twice.) I can now commit to the TFS and view my code online.

提交回复
热议问题