Install the 09_EGIT plug-in, clone, commit, push, and pull operations in Eclipse, and 09_egit operations
1 download EGIT: http://www.eclipse.org/egit/download/
Final:
Http://www.eclipse.org/downloads/download.php? File =/egit/updates/org.eclipse.egit.repository-4.0.1.201506240215-r.zip & found _id = 105
2. Install the EGIT plug-in
3. Use GIT in Eclipse to prepare GIT-related folders first.
Create a repository
4. A git repository in Eclipse
Click OK:
Click Next
5. Import a project in the above warehouse and right-click the warehouse.
Click to go To the Java View
6. add files to the repository and commit them to the remote repository.
Click readme.txt again, and then commit.
If you only Click Commit, You can execute it as follows when you Push it again:
Click "Add Spec" next to it, and then click next
Click Finish
At this time, readme.txt has been submitted to the remote repository.
7. content above pull in another warehouse:
Clone a Git repository again
The following process is shown in the figure above:
Next, import the project.
View the two repositories user1 and user2 respectively:
8. Modify the readme.txt file in user1and push it to the remote server:
Commit readme.txt first
Select user2 and submit the above pull:
Note: After modifying readme.txt in user1, commit is required.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.