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