I have a Visual Studio 2013 solution, and I decided to use Git for source control. When I ran the tool within VS2013 to create the repository, of course it created it within the same folder as the solution. Fine, except I want the repository to be held in a network location where it will be subject to regular backup.
I've gone over a number of answers to similar questions here on SO, but none of them seem to apply to VS2013, and some of the instructions seem to involve "running" some sort of Git tool, without specifying what it is, or how one would start it. What I want to do is move the repository from my C: drive to the network based I: drive. Once it is moved, I want Git to update the repository in its new location. The existing repository seems to be consist of two files in the solution folder: .gitattributes
and .gitignore
. There's a Git folder (hidden) named .git
.
I am guessing I can move the .git folder to the I: drive location, and then I need to perform some Git command to link the moved repository with the VS solution. Is this correct, and what is this Git command or commands and how do I execute it or them?
When answering, please keep in mind that for all practical purposes I know Zip about Git.