Solved

Git Hub Clone Error

Posted on 2013-10-25
6
1,655 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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 …

705 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

19 Experts available now in Live!

Get 1:1 Help Now