09_EGIT plug-in installation, clone, commit, push, and pull operations in Eclipse demo

Source: Internet
Author: User

09_EGIT plug-in installation, clone, commit, push, and pull operations in Eclipse demo

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.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.