Source Control – Git

  1. gitLearn about Git
    Git is a distributed version control system where each developer has a copy of the entire source repository. Having a local repository means that Git works well in environments where developers need to work without connectivity. It also offers a simple branching model that enables developers to quickly create local and private branches, enabling flexible workflows. Git also works well in modular code bases where code is distributed across many repositories.
  2. How to integrate Git in Visual Studio
    Step 1:

    1. Launch Visual Studio, Select menu Tools | Extension Manager,
    2. Search online gallery for Git Source Control Provider
    3. Download and install.
      Step1_Git

Step 2:

  1. Go to Tools | Options
  2. Select Source Control in the tree view
  3. Select Git Source Control Provider from the drop down list, and click OK.
    Step2_Git
    4. Also, please verify the paths to your favorite git tools are setup correctly.

Step3_Git3. Create a Git team project in Team Foundation Service

You can quickly spin up a new Git team project with just a few clicks.
Step4_GitStep5_Git4. Use Visual Studio with Git

Git provides powerful DVCS features that enable your team to collaborate on an app. But Git’s user interface can be difficult to use, and to get full value from it you may need to bring separate tools together.
Visual Studio provides an integrated experience that makes it easy for your team to leverage the power of Git. And if you are a Git pro who has some favorite Git tools you still want to use, you can use them alongside Visual Studio.

When you are ready to begin working in your Git team project, you begin by connecting to it. Once you’ve connected to your new Git project, you’ll be prompted to Clone the repository in the team project onto your dev machine.

Advertisements

One thought on “Source Control – Git

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s