I'm trying to put an existing project under Git source control but I'm unclear on several things.
I have setup a 'Team Foundation Service' Git account online.
I currently have an asp.net MVC 4 solution - in my Projects folder. I have created a git 'repository' locally (an empty folder currently). Should this just be my current application folder in Projects? Or does it need to be a copy?
How do I get my existing files into the online repository?
git initin the solution folder. That is the proper way to create a repository folder
.gitignorefile, so you don't commit unnecessary stuff
git remote add origin <proper url>
git pushyour code