Egit using the Git plugin on eclipse

Source: Internet
Author: User

First, install the Egit plug-inReference: MyEclipse8.5 integrated git
Second, egit configurationConfigure personal Information Window > Preferences > Team > Git > Configuration

Location will automatically find the ~/.gitconfig file (under the C:\Documents and Settings\ $USER for most people in the Windows system).

If you don't have this file, you can open git bash to set it up:

$ git config--global user.name "youname" $ git config--global user.email "[Email protected]"

You can see the. gitconfig file again by entering the $user.


third, push the local warehouse to the remote warehouse1:myeclipse Create a new project (Mygit)


2:github Create a new warehouse

After the successful creation, jump to the following page, remember the HTTP address: Https://github.com/itmyline/mygit.git



3: Create a warehouse

Project right: Team > Shareproject > Git next appears following page

check box

After the warehouse is created, the. git folder in the $workspace\mygit directory is the repository address for git.



4. Submit

With the local repository, we can upload it to the remote repository.

Project Right-click: Team > Commit




5: Push

Project Right-click: Team > Remote > Push

Go to GitHub to see the projects we've submitted


iv. cloning a remote repository to a local

Import > Git > Projects from git > Next > Clone


Itmyhome

Source: http://blog.csdn.net/itmyhome1990/article/details/39965489



Egit using the Git plugin on eclipse

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.