3

When I enter the command:

git clone https://<repo_url>.git

I get the following output:

warning: templates not found /usr/share/git-core/templates

fatal: Unable to find remote helper for 'https'

I read that it could have something to do with curl, but curl is already installed and in my PATH variable. What could be causing this?

Thanks in advance.

koplersky
  • 269
  • 2
  • 9

1 Answers1

2

The "Git Template" section on this blog sounds like your problem. Try running git init and then cloning from within that repo. Alternatively....

Did you have curl installed when you installed Git? You probably found this already seeing as you read about curl possibly being the issue - "Unable to find remote helper for 'https'" during git clone This is saying that you should install curl and then rebuild git. The rebuild git commands should work as is.

Community
  • 1
  • 1
gfritz
  • 559
  • 9
  • 16
  • Thanks for the answer. I already had curl before installing git, but I tried to reinstall it anyway. The problem persists. And after running `brew install curl` I get `make[1]: *** [libcurl_la-file.lo] Error 1` – koplersky Jan 24 '14 at 03:19
  • Are you able to use the Git transport instead? `git clone --recursive git://.get` Possibly your curl version, be it one you installed or the one that came boxed with your OS, was not installed with https support. But that would be really weird. – gfritz Jan 24 '14 at 13:37
  • Didn't work either, I got "repository not found". I guess my environment variables became all messed up along with the tools installed after updating to Mavericks. I'll just do a fresh install of the SO and see if that solves all the issues I'm having. Until that I'll use SourceTree because it's working. Many thanks for taking your time. – koplersky Jan 25 '14 at 23:48