Create a new code project
You've got an idea for a new app, so you want to experiment on your dev machine in the spare hours during a sprint. In less than a minute you can use Visual Studio with Git to create a new code project under local version control. (And no Internet required!)
Install the Visual Studio Tools for Git
If you haven't already, install:
- Visual Studio 2012
- Visual Studio Update 2
- Visual Studio Tools for Git
Create the code project
In Visual Studio, choose New Project.
Select a template and add the new code project to version control. When prompted, select Git.
Your code project is created in your new local Git repository.
Commit the code project
Before you begin coding, you might want to commit the new code project into your local repository.
Open Team Explorer to see the project files Visual Studio has created for you.
View the changes.
If you have not yet done so, choose Configure to specify the name and email address you want to associate with your commits. Then enter a message, and commit your changes.
Your changes have been committed locally.
Try this next
Or, dig deeper
Sign up for free