Solved

Git Hub Clone Error

Posted on 2013-10-25
6
1,844 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:Nathan Riley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Nathan Riley
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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
LVL 11

Author Comment

by:Nathan Riley
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:Nathan Riley
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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 dynamically set the form action using jQuery.

626 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