Installation Instructions
1.git Introduction and use can be found on the Internet, where the focus is only specifically said Myeclipse+git installation use
2. Because of the use of myeclipse+git, you do not need to install GIT clients and graphics programs, only one Egit plug-in
3. Same applies to Eclipse+git
Installing the Egit plugin
1. Method One:
Download the Egit package and then install the Egit plugin via dropins+link or otherwise
2. Method Two:
MyEclipse help?eclipse Marketplace?search Egit?finish
3. Method Three:
MyEclipse myeclipse configuration center?software? installation
using Git
1. Create a new project
2. Right key to this project? team?share project?git check box? Click item? Create Repository?finish
The 3.git warehouse has been built and can be versioned locally.
remote git
1. You can apply for an account in Code.csdn, Git.oschina, or other foreign code management sites, and then use remote git
2. Right key item? Team?remote?push? Fill in the relevant information? finish
myeclipse 8.5 consolidates git and publishes the project on GitHub
1. Install MyEclipse 8.5, omit not table.
2. Download the eclipse git plugin--egit. Download URL Http://download.eclipse.org/egit/updates-1.3/org.eclipse.egit-updatesite-1.3.0.201202151440-r-site.zip, This is the latest version of the current, if you want to update the release, access to the Egit download page http://www.eclipse.org/egit/download/can be.
3. Install Plug-ins: The last step to download the plugin extracted, delete the XML file. Create a new Egit folder in the MyEclipse dropins directory, and then put the features, plugins, and the other two jar packs that you just extracted. After restarting the myeclipse, entering Window-preferences-team and seeing the git option, it means the installation was successful.
4. Download git environment: go to http://help.github.com/win-set-up-git/download git, and after installation, you can use Git Bash. This will be used in the back.
5. Enter the https://github.com, with your email application account, omit not table.
6. After the successful registration, you can create a new item: Click on the new Repositories button on the page, fill in the project name, description and other information can be. For example, you built a project called HelloWorld.
7. Set up your SSH key information, this step is very important, otherwise the project is not submitted.
Open git Bash from your Start menu.
After the $ prompt, enter ssh-keygen-t rsa-c "your_email@youremail.com" carriage return, note: Ssh-keygen is written in a coherent, with no spaces in the middle.
This time the system will prompt you some questions, such as passphrase or something, all the way back to the past on the line.
The final system will generate a id_rsa.pub file, which is your SSH key. This file is stored in the C:\Documents and Settings\administrator\.ssh folder by default.
Enter the GitHub website, in the Https://github.com/settings/ssh page, click the "ADD ssh KEY" button, the contents of the Id_rsa.pub file copied to the inside, title casually write a line.
Copy all the things in C:\Documents and settings\administrator\.ssh into C:\Documents and settings\administrator\ssh.
So far, SSH key is set up.
Create a new project from MyEclipse, for example, you built a project in the C:\prj folder called HelloWorld.
8. Follow the prompts to create your own first readme file.
9. Open git Bash from your Start menu. Enter the following command in turn
10.
$git config--global user.name "your username" NOTE: It may not be your account number
$git config--global user.email "your Email" NOTE: Registered account number
$CD C://prj//helloworld Note: The Engineering directory you created from MyEclipse
$git Init
$touch README
$git Add README
$git ' Commit-m '
$git remote Add origingit@github.com:< your account >/helloworld.git
$git push? u Origin Master
If it goes well, you can see the Readme file you uploaded from the GitHub website.
If the SSH key setting in the previous 7th step is not set correctly, the above command may prompt permission denied (publickey)
10. The previous steps are fixed, the following can enter the MyEclipse, using Egit plug-ins for project management. The first thing to note is that myeclipse default networking may be wrong, will cause your myeclipse can not connect to the GitHub site, so first enter window-preferences-general-network connections, Set active provider to direct (default is native).
11. Right-click on your project name, Team-share Project, and then follow the steps in http://wenku.baidu.com/view/dfeb0a24af45b307e871978c.html
12. If you want to import an existing project from the GitHub, please see http://www.iteye.com/topic/1122423 illustrations are very detailed