2

I'm completely new to git, but I'm trying to learn. I followed this guide and I got it working on a network share. I used git bash. I've found how to do a lot of it with the Visual Studio GUI, which is what I would prefer rather than having to go back and forth to the command line (I'm coming from Visual Source Safe where you just do pending checkins, checkin, and you're done).

The only command I couldn't find was:

git remote add origin <server>

How do I do that for a UNC share in Visual Studio 2013, in the GUI?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
John
  • 2,653
  • 4
  • 36
  • 57

1 Answers1

2

To my knowledge Visual Studio Tools for Git (VS Git Support) does not yet support managing remotes, unfortunately. I believe the team at MSFT responsible for VS Git features has it backlogged, but it's low priority.

See the comments on SO#21469233 re: Edward Thomson.

Community
  • 1
  • 1
Shaun Wilson
  • 8,727
  • 3
  • 50
  • 48
  • So, to be clear, currently the only method of configuring remotes is via command-line (or other tool.) – Shaun Wilson Jun 18 '15 at 22:05
  • 1
    I didn't say it was low priority, only that I didn't know what the priority was! :) This functionality landed in VS 2015. – Edward Thomson Jun 19 '15 at 00:07
  • So what's my workflow then? I'm used to making a new project in VS2010, then "Add to Source Control" and give it a folder in VSS. What's the workflow here? – John Jun 19 '15 at 13:06
  • @John You'll have to run `git remote add origin ` from the command-line. – Edward Thomson Jun 21 '15 at 17:41