Use Github Version Control in Visual Studio 2015 Preview, previewgithub

Source: Internet
Author: User

Use Github Version Control in Visual Studio 2015 Preview, previewgithub

Open Visual Studio, create a project, and select in the lower right corner, as shown in:

Click 'OK' and a window appears. Select 'git ':

For an existing project, you can find 'add to Source control' under the 'file' menu, for example:

Global configuration.

Open team resource manager-homepage-Setting

You can also set the red box to a local path (default ).

After setting, log on to the Github website and create a Repository.

Configure Repository Information

After the project is created, find the following link on the page and copy the Project address.

Synchronize the project to the newly created Repository. Right-click the solution name and choose Commit.

You can see the Changes under sorted ded Changes. After confirming the Changes are correct, enter the description and click 'commit '(the drop-down box in the button contains three options, which will be described below)

When prompted, do not worry about viewing the site. Now the code is only submitted to the local version set. You need to click 'sync' to submit the code to Github.

Click 'sync'. The following page is displayed during the first synchronization. paste the address to the following position and click 'Publish ':

Click 'Publish 'for the first time to enter the logon information of Github.

Click 'OK'. The following page is displayed. The Outgoing Commits contains all the changes to be submitted to the remote device. Click 'sync' again '.

Note: The Commit button drop-down box mentioned above contains the following three options. You can select Commit and Sync to submit and synchronize at one time:

Prompt successful

Open the newly created Repository on the Github site and see the submitted Changs.

About the plug-in msysgit

Open team resource manager-Homepage

Click 'install' if the installation is not successful, you can download to the official website, link: http://msysgit.github.io /.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.