Solved

Git Hub Clone Error

Posted on 2013-10-25
6
1,729 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
[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: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
Independent Software Vendors: 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!

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 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