The first few days into the company, because before the SVN has not used git and no one to guide, so looked up a lot of information is not in line with my project experience at the time, and finally in each article splicing useful information to solve the problem;
A, the first project in the open source China's code cloud (domestic version of GitHub), is through the git to manage, need to network download;
b, then the project is MAVEN engineering
Steps:
1, first of all your eclipse to have git plug-ins, high-version git will have;
If you do not install it yourself (https://jingyan.baidu.com/article/6b97984dc0bfaa1ca2b0bfee.html)
2. Copy the URL of your project on the Code cloud
(The way I used the https://)
-----------------------------------------------------------------
3. Import project in Eclipse, select the way to use Git
4. Select the Clone URL
5, fill in the second step to copy the URL
6. Select a branch (there may be multiple branches)
7. Select the location where the code needs to be saved
8, choose to build a new project
(If you are prompted in the next step that the project is already in place, "I think this is a bug", then go back to this to check the first one)
Behind always Next
The project will eventually appear in Eclipse, and if it does, the project icon will automatically turn into Maven's icon and build a dependency,
But there are cases where the folder icon is displayed after downloading.
You can do this by doing the following:
A. Turn the project into a MAVEN project
(You don't have to do this if you have a maven icon)
b, if the project Maven dependency does not automatically load well
Need to right-click on the project->import->maven, and then browse to the local project, then there will be selected Pom interface, check all the POM.XM after the finish is OK
Eclipse uses git plugin to import MAVEN project on code cloud