Solved

Git Hub Clone Error

Posted on 2013-10-25
6
1,675 Views
Last Modified: 2013-10-29
I'm trying to clone a github repository to my ide editor PHPStorm.

The error I receive is:
Cone failed
fatal: Unable to find remote helper for 'https'

Any idea on how to fix this?  I'm on MacOSX 10.8.5
0
Comment
Question by:N R
  • 3
  • 3
6 Comments
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39602576
1. Is there proxy server between you and Github?
2. What version of git are you using?
I just tested a random repo with https:// transport and git 1.8 on MacOS - works flawless. Please try to clone the repo outside of PHPStorm to check whatever it is git.
1
 
LVL 11

Author Comment

by:N R
ID: 39607625
1. Nope no proxy server in between us.
2. Peak Meme (162) -GitHub Version

I'm able to clone it from the GitHub application itself, but not within PHPStorm.  I need to be able to do this within PHPStorm though so I can commit changes to github ect...
0
 
LVL 13

Expert Comment

by:Daniel Helgenberger
ID: 39608479
Please try the official git build for MacOS, 1.8.5 is the current release I think.
The command line tools get installed to /usr/local/git or /usr/local/bin. Configure PHPstorm to use git from there and try again.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 11

Author Comment

by:N R
ID: 39608914
Ok I installed it now.

I had to set the path to the git executable in phpstorm.  I set it to /usr/local/git/bin and now when I try to test it says "Cannot run program /usr/local/git/bin/: error 13, permission denied"
0
 
LVL 13

Accepted Solution

by:
Daniel Helgenberger earned 500 total points
ID: 39609055
Did you set the correct path? It seems to me you pointed to a directory? At least with PyCharm I have a test button next to the executable path (Settings / VCS / Git).
Can you please try to clone the repo using command line only; eg:
/usr/local/git/bin/git clone https://github.com/<yourrepo>

Open in new window

Also please note, on some Mac Sytstems there might be a git version in /usr/bin witch prompts you to install Xcode. Since I do not use Xcode, and even then rather use a Git build I know, rename it and link git to this (correct) location:
cd /usr/bin
sudo mv git git.xcode
sudo ln -s /usr/local/bin/git .

Open in new window

0
 
LVL 11

Author Comment

by:N R
ID: 39609065
Aha, thanks for the above, it was b/c I didn't have the path correct.

I had:
/usr/local/git/bin

I saw above and changed to:
/usr/local/git/bin/git

Now it works thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Online file editor, manager 6 56
Site hacked - decoding the PHP? 15 55
Amazon Redshift 2 23
mcrypt_create_iv() is deprecated 4 66
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now