Manipulating GitHub on IntelliJ idea

Source: Internet
Author: User
Tags using git git commands

First the Git tool, download the address:

http://download.csdn.net/detail/qq_35624642/9734979

IntelliJ idea integrates support for GitHub, making it easier and faster to upload code to github and download code from GitHub.

1. Share code to GitHub first you need to configure Git in IntelliJ, and if not configured correctly, the following error occurs:

Open the Setup Panel by File->settings, as shown in figure:




2. The first upload code to the GitHub operation is as follows:




You will need to enter a username and password.
3. Non-upload code for the first time, you need to follow the Add->commit->push way, just like using git commands. As shown in figure:


2. The previous operation will open the following interface:


Where add this step can be omitted, direct Commit->push.



2. From GitHub the clone code first selects File->new->project from Version Control->github

2. The previous operation will open the following interface:


At Git Repository url, enter the URL of the item that requires clone.

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.