The practice of Eclipse integration with Git

Source: Internet
Author: User

Recently has been in the study of crawler-related technology, the online crawler is too few tutorials, only rely on some fragmented blog information to do a shallow study, we have learned webcollector,htmlparser,jsoup these crawler technology, And also successfully crawled some Web site data, more or less is some small achievements, and today learned a bit of crawlscript, which is a kind of crawler-like script language crawler technology, and the code is streamlined, you can use the least code to achieve a powerful function. Related technology We'll do the introductions next time. All we have to do today is upload some of our recent crawler projects to GitHub.

GitHub is used more and more, for the management of personal code plays a vital role, SVN is more inclined to the management of the team project, are very useful, if it is a personal code, the proposed use of GitHub, then, has introduced the basic GitHub tutorial, you can read this article: http ://www.cnblogs.com/ao-xiang/p/5355683.html, what we're going to learn today is the Eclipse integrated git direct upload code to our GitHub code base.

One

Download the git plugin, the plugin package has been uploaded to the attachment, address:, after extracting the plugin, copy the contents of the two folders in the Eclips installation directory to the corresponding folder:

Then restart Eclipse.

Right-click on the project name and select Share Project

Choose Git.

Check this out.

Click the Create Repository button.

This is where we look at our project, which has become:

Continue to click on Project right-team-commit

The following interface appears, and the final option is to select Commit and Push, and if you choose commit just commits the code, but does not upload it to our GitHub.

OK, let's go to GitHub and start with a new project address, which will store the items we uploaded.

Once built, you can create it.

Click "Clone/Download", select HTTPS, copy the address. Then come back to our eclipse.

In the URL column, paste the address we just copied, then fill out our GitHub username and password below. Click Next.

This is the branch name, the default is master, and we can customize it. Then click Next.

then click Finish. Then we go to our GitHub. The discovery code was successfully submitted.

Let's test it now, let's change the code.

We have now modified some of the code and then submitted it.

Our submission record has been shown here.

Well, isn't it easy, for more use of GitHub, you can refer to the GitHub tutorial material: http://www.runoob.com/w3cnote/git-guide.html.

If you have any objection to the views of this article, welcome your message, we communicate together!

Eclipse integration with git practices

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.