Eclipse uses Git to manage projects

Source: Internet
Author: User
One, git version management project in eclipse

1. Open Eclipse and start Git version control under Project engineering

2, click Next, pop up the following screen

3. Select Project Right click->team->commit then we commit the code to the local and remote repositories.

4. Make the following settings:

5. Click Next to continue

Click "Next" to appear as shown:

Finally click Finis, log on to GitHub to see if the upload was successful.

The following appears to indicate the success of the upload.

Second, create the branch and switch Teamàswitch to then in the new one branch

1. Create a branch

1. Switching from master to a dev branch is called a branch of development such as v+ date

2. We develop on the development Branch, the development completes the test through the code merge to the master branch to pack the line

3. If there is a bug in the online system, we need to remove the hotfix branch from the master branch for Bug fix, fix it and then package it in merge to master.

Third, branch development of good code to merge into the trunk

1. Commit the changes on the branch to the local

2, then in team--"" Switch back to the trunk

3. Merge on the trunk of the code we just wrote on the branch.

Eclipse uses Git to manage projects

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.