You are not logged in.
Pages: 1
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.gitgives 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
why in the world would you try to use "git+https://" with git cli? Just use https.
Offline
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
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
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
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
git itself has never, to my knowledge, supported git+http.
I do know, that it once supported git+ssh -- and ssh+git too
-- 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".
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
Pages: 1