You are not logged in.

#1 2018-09-05 16:23:36

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

No remote helper for git+https

I'm not sure if this is the right board to post this on, but the git package seems to not support git+https for repos. Trying to clone a repo such as

 git clone git+https://github.com/janestreet/core.git

gives me the error:

fatal: Unable to find remote helper for 'git+https'

Some googling shows other distros instructing people having this issue to install libcurl-devel and recompile/reinstall git, but Arch doesn't seem to have an equivalent package.

Is there some package or version of git I should be using, or some additional package I need to install?


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#2 2018-09-05 16:50:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: No remote helper for git+https

why in the world would you try to use "git+https://" with git cli? Just use https.

Offline

#3 2018-09-05 17:02:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,718
Website

Re: No remote helper for git+https

Mod note: not a networking issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2018-09-05 18:14:43

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: No remote helper for git+https

Scimmia wrote:

why in the world would you try to use "git+https://" with git cli? Just use https.

It's through another tool that I'm using, the OPAM package manager from OCaml, if that's relevant.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#5 2018-09-05 20:00:53

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: No remote helper for git+https

makepkg does support this format, but it is decoded internally. The "git+" prefix indicates to makepkg, that it should use git to access the url. The prefix is stripped and only the url starting with https:// is given to git.

No idea what OPAM is doing.
Edit: It seem it is doing the same since v1.2.1
https://opam.ocaml.org/doc/Manual.html

Last edited by progandy (2018-09-05 20:04:48)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#6 2018-09-05 21:56:20

Basu
Member
From: Cornell University
Registered: 2006-12-15
Posts: 296
Website

Re: No remote helper for git+https

progandy wrote:

makepkg does support this format, but it is decoded internally. The "git+" prefix indicates to makepkg, that it should use git to access the url. The prefix is stripped and only the url starting with https:// is given to git.

No idea what OPAM is doing.
Edit: It seem it is doing the same since v1.2.1
https://opam.ocaml.org/doc/Manual.html

Oh interesting. That would suggest that this is in fact a bug with OPAM which should only be passing the URL starting with "http://" to git. I'll go check with the OPAM folks.


The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github

Offline

#7 2018-09-06 14:28:16

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: No remote helper for git+https

git itself has never, to my knowledge, supported git+http.

I do know, that it once supported git+ssh -- and ssh+git too hmm -- but lots of people thought it was silly to begin with and should be dropped. In fact it was dropped, although still supported for compatibility reasons, but its documentation was removed and it is only mentioned in the git source code twice -- each time with a comment stating "this is deprecated, do not use".

https://github.com/git/git/commit/07c77 … 3f4d4d728c


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB