koplersky
koplersky

Reputation: 269

Problems when cloning repo with GIt

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.

Upvotes: 3

Views: 9216

Answers (1)

gfritz
gfritz

Reputation: 579

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.

Upvotes: 2

Related Questions