Visual studio2015 using git to manage source code

Source: Internet
Author: User
Tags using git

Work to use Git to manage the source code, the first use, special record down, in case you look!

1, Registered https://git.oschina.net/

2. After registering, create a test project, such as:

3. Git initialization settings

To install GIT on your local computer, open the GIT command line input box and enter the following two sentences:

git config--global user.name "your name"
git config--global user.email "Your Mailbox" 4, after the local project folder root git init command executes the command, you will see more in the project folder. Git this hidden folder. 5. Add solution to source management in Visual Studio in VS Open "Team Explorer", click "Add", select your project file, such as: After selecting a file, click "OK", then click "Add". You can also right-click the solution in Solution Explorer and select Add Solution to source control.

Visual studio2015 using git to manage source code

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.