Unable to clone cause analysis using Git feature in Android studio

Source: Internet
Author: User
Tags using git

?? Recently when using Git to find a very strange problem, I use the cmd command line can be clone,push,pull and other operations can be a perfect success, but in the Android studio to do these and remote library operations, is a variety of failures ....
?? At first I thought it was ssh key problem, so I retried several times to generate SSH key, and then re-do the above operation, found still not ...
?? Later I thought of the git configuration in the Android studio is a problem, then went online search, found that the original is really a git configuration problem, originally in Git there are two places Git.exe execution files, one in the Bin folder , One in the cmd folder . In Andriod Studio, it is possible to configure the test, but the difference is that the git.exe under CMD can be executed anywhere ... And at first I was using the bin below, so that caused the command to fail to execute the error!

A true configuration:

1. Configure the Git.exe under the cmd folder:

2. Test whether the configuration is successful:

3. Test whether remote operations such as clone can be performed:

4. Select the library you want to clone and make a clone test:

5. A successful result indicates that the clone operation can be performed:

The clone operation can be executed successfully, and the rest of the Push,pull related operations can be executed successfully.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Unable to clone cause analysis using Git feature in Android studio

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.