Build Eclipse+github development environment

Source: Internet
Author: User

Development environment

1, jdk:jdk1.8.0_60

2, Eclipse:eclipse-jee-mars-r-win32-x86_64.zip

Configuration steps

1. Configure the local git directory (optional)

Eclipse-jee-mars already has the default integrated egit 4.0,git default repository directory is the c:\users\{user name}\git, we can also be modified to avoid multiple development environment conflicts, where I changed to D:\Eclipse\ Eclipse-jee-mars\git.

2. New Project

Create a Java Project named demo.

3. Share project, create a local git library

On the project, select the right-click menu Teams->share Project ...

The repository here is empty, click the "Create" button to create a new repository

Once the creation is complete, go back to the previous window

Click "Finish" and you have created a local git library, and we'll see the [git master] logo behind the project name.

4. Submit the project to GitHub

In the Project right-click menu, select Team-a Commit

After you enter the submission information, the author, the submitter, and the file to be submitted, select Commit and Push to submit the project to the local library and to the remote library.

Since we did not configure the remote library, the following window will pop up

To fill in this information, we need to implement a remote repository, such as GitHub.

We also created a public library called demo on GitHub.

Then enter the information for the library https://github.com/scaleworld/demo.git and the account number and password.

Next, until finish, you can submit the files and folders included in the demo to GitHub.

We can then refresh GitHub to see the item's information on the page.

So far, we've built a simple github-based development environment in Eclipse.

Reference Resources

1, http://blog.csdn.net/bhq2010/article/details/8581499

2, Http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/

Build Eclipse+github development environment

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.