Note: This article source: external Bastard "Myeclipse10.7 install git plugin and upload Java project to code Cloud (GitHub)"
First, talk about the steps to install the Egit plug-in (the reason why the installation egit is unsuccessful is primarily that the downloaded Egit version is not suitable for the MyEclipse version currently in use ).
There are three main ways to install the Eclipse plugin via internet search:
The first way:
Different versions of Eclipse and MyEclipse may differ, mainly in the following two scenarios:
1.
Egit Plugin Address: http://download.eclipse.org/egit/updates
2.
There are some forms of the form of Eclipse and MyEclipse installed here, MyEclipse need to go to its configuration center to add a new "site", and then put http://download.eclipse.org/egit/ updates-2.3 Add personal Sites, specific operations such as: (Feel a little trouble in this way, recommend the second way)
Using the first approach, the advantage is that you can find the Egit plug-in that fits the current eclipse or MyEclipse version, but the downside is that it may not be installed because the network is wall-mounted, and it's good to manage your own installed plugins. It is not recommended.
The second way:
1. View all of your eclipse or MyEclipse based eclipse versions
For Eclipse:
For MyEclipse, I'm using myeclipse10.7.
Open the window as shown.
But you can't see the eclipse version based on MyEclipse, you can click the Installtion Details button as follows:
The eclipse version based on the known is 3.7.2.
The second is to download the Egit plugin for the Eclipse version on the Egit website.
egit:http://www.eclipse.org/egit/download/
Find 3.7.2 version of Eclipse should download which version of egit:http://wiki.eclipse.org/egit/faq#what_versions_of_eclipse_does_egit_ from the following URL Target.3f, find the egit version of Eclipse as shown below.
Then to: Http://wiki.eclipse.org/EGit/FAQ#Where_can_I_find_older_releases_of_EGit.3F, download the zip package that I need to download is version 2.2.0. Click the last column in the list download P2 repository connection, download the offline version of the Egit plugin.
2. Locate the Dropins folder in the MyEclipse installation directory, and then create a new Egit folder to extract the downloaded Egit compressed files and put them under the Egit folder:
4. Restart Eclipse or MyEclipse.
5, Window->preferences->team->git
The Third Way:
The difference between this and the second approach is that the location of the Egit file is different.
In the Dropins folder by creating a new *.link file, and then enter path=%plugins_path% in the file, this way, you can not worry about the later plug-in confusion, but also easy to remove the relevant plug-ins. The details are as follows:
Chart 2
Chart 3
The path=%plugins_path% can have more than one line, and each row represents a different plug-in path.
The third Way is the most recommended, easy to add and remove Eclipse plug-ins, not too many plug-in management confusion, but also conducive to eclipse optimization, if a plug-in does not want to use can be removed directly, accelerate the launch of Eclipse. (I use the second kind)
Next, register your own account on the code cloud or on GitHub.
1. Login Code Cloud: New Project
2. Enter the project name:
Third, eclipse upload to the code cloud
1. Right-click on the Eclipse Project and select "Team"----------------"Share Project"
(If you have SVN connection to first disconnect http://blog.csdn.net/ypf362788689/article/details/59074400)
2, the project itself as a warehouse:
3. Indicates that the project has not been submitted to the warehouse:
4, submit (the second time to submit from here, the first commit to the local git, and then push to the code cloud, or the server there is no change. ):
5, fill in the user name and email, select all, click Submit:
6, the icon changes into a bucket (database icon), and there is a (master) main branch, the description has been successfully submitted to the Local.
7. Upload your code to the cloud:
Team----"Remote------" push ...
①
Url:
User and password are the username (not the mailbox) and password you registered on the code cloud.
Ii
8. Click OK:
9. Refresh the Cloud:
Please advise me of any deficiencies.
Myeclipse10.7 Installing the Git plugin and uploading the Java project to the Code Cloud (GitHub)