Solved

Git Hub Clone Error

Posted on 2013-10-25
6
1,760 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

752 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