Idea uses a remote git Repository

Source: Internet
Author: User

Using the remote git repository in idea is not as convenient as in eclipse, but it can be completed with the official git GUI tool.

1. How to upload the local git repository of a local project to a remote git Repository

After adding git to the project in idea, use git GUI to open the GIT repository of the project:

Then add a remote Repository:

In the middle, you need to confirm the remote repository password:

After the remote repository is added, upload the workspace content to the remote Repository:

Authentication is still required:

2. Clone the remote git repository to the local git repository, and then the checkout project from the cloned local git Repository

Use the clone function of git Gui:

After cloning the remote repository to the local machine, use idea's "check out from Version Control" to checkout the content in the local git repository.

During checkout, enter the path of the cloned local git repository in the VCs repository URL:

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: 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.