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
I had the same issue. I had to delete all of my remotes in .git/config (not just origin) before the Publish option is available. Apparently, Microsoft assumes you would never even dream of using a different remote.