Using git in visual studio 2015

Post on 21-Feb-2017

650 views 0 download

Transcript of Using git in visual studio 2015

Using Git in Visual Studio 2015

ByENG SOON CHEAH

Microsoft MVP

Pre-Requirements

• Visual Studio 2015• GitHub Extension for Visual Studio• GitHub account

3 Steps• Create• Clone• Publish

1. Create

Create New repository

1

Name your Repository Name

2

Copy this Git repository

3

2. Clone

1. Create a New Project2. Remember to check “ / “ Add to source

control

Select the Git

Go to Team Explorer Select connect and Login with your GitHub Account

Select Clone with the Git clone URL,And select the Git Repository that you

need

3. Publish

Select Changes in the Team Explorer

Enter the Message and select Commit

Copy the Git URL, and Click Publish

Result