Steps to upload a project to GitHub in MyEclipse (2015) (very detailed)

Source: Internet
Author: User

MyEclipse 2015 The Git plugin is already installed by default, the steps to upload a project to GitHub in MyEclipse are as follows:


(Original article, reprint please specify the blog from Clement-xu: http://blog.csdn.net/clementad/article/details/46954587)


1, GitHub official website (https://github.com) application opening account (slightly)

1.1. Then, after logging on to the GitHub website, create a warehouse (i.e. the project) (assuming the warehouse/project name is: Httpapp):


1.2, after the successful creation, will automatically jump to the new project directory, but now is an empty project, here you can see the project warehouse HTTPS address (the last button can be clicked directly copy):



2. Create the project in MyEclipse:

Create a simple jar project: http://blog.csdn.net/clementad/article/details/46954277

Create WebApp Project: http://blog.csdn.net/clementad/article/details/46592557


3. Start uploading items to GitHub: project name right click on Team--Share project ... Choose Git, click Next >


4. In the Configure Git Repository window, click Create ... to create a new local repository:


In the repository directory of the pop-up window, fill in the address of the local repository:


Click Finish, Finish.


At this point, you can see a number of question marks in your project indicating that a file needs to be committed:



5, the Project right button, the Team menu changed, choose Commit ...

Commit message Enter the reason for the submission; Click Select All; then click Commit and Push



This will bring up a destination Git repository window:

    • The URI fills in the project address of HTTPS format obtained in 1.2 steps;
    • Authentication fill in the GitHub account number and password;
    • Check "store in Secure store" to avoid entering your password every time.
    • Next >



6. In the Push REF specifications window, click "Add all Branches Spec", others do not need to fill in, then click Next >



7. Automatically select Master, click Finish


Upload successful, click OK



8. Verify the upload success on the GitHub website:

Refresh the 2.1-step page, or enter the path to the GitHub project directly, or click the newly created project link on your GitHub home page to see that the files for the new project have been uploaded:


At this point, you can add a readme for your own project by adding a description document. Then, in the MyEclipse project right-click Team---Pull the Readme file sync down, slowly modify.

Note: The Readme file is formatted using the markdown format.


(Original article, reprint please specify the blog from Clement-xu)




Copyright NOTICE: This article is the original article, reprint please indicate the CSDN blog which is transferred from Clement-xu.

Steps to upload a project to GitHub (in detail) in MyEclipse (2015)

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.