Visual StudioVisual Studio with GitEclipseXcode

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:

  1. Visual Studio 2012
  2. Visual Studio Update 2
  3. Visual Studio Tools for Git

Create the code project

  1. In Visual Studio, choose New Project.

    VSGitCodeProjCreate01
  2. Select a template and add the new code project to version control. When prompted, select Git.

    VSGitCodeProjCreate02

    VSGitCodeProjCreate03

    Your code project is created in your new local Git repository.

    VSGitCodeProjCreate04

Commit the code project

Before you begin coding, you might want to commit the new code project into your local repository.

     
  1. Open Team Explorer to see the project files Visual Studio has created for you.

    VSGitCodeProjCreate05
  2.  
  3. View the changes.

    VSGitCodeProjCreate05_1

    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.

    VSGitCodeProjCreate06

    VSGitCodeProjCreate07

    Your changes have been committed locally.

Try this next

Or, dig deeper