0

I have a problem where I try to clone a repository and i'm getting the following error message:

fatal: curl_global_init failed

and this is what i'm trying to do:

$ git clone http://10.0.50.168:10000/WSW.git

it also happen when i'm trying to clone something from Github as well.

Full Output:

administrator@Hostname MINGW64 ~/Desktop/test
$ git clone http://10.0.50.168:10000/WSW.git
Cloning into 'WSW'...
fatal: curl_global_init failed

can someone know what might be the issue?

Eitanmg
  • 566
  • 1
  • 8
  • 20
  • 1
    Can you give us the full output of the command? Also, this doesn't really seem like a programming question, and it may be better suited for another SE site. – Thomas Jager Jun 25 '18 at 16:11
  • I have updated the question – Eitanmg Jun 26 '18 at 09:42
  • What the output of `git --version`? – Thomas Jager Jun 26 '18 at 10:49
  • `git version 2.18.0.windows.1` – Eitanmg Jun 26 '18 at 11:32
  • The only thing left I can think of is to try `curl`ing comething else over https, say this: `curl https://stackoverflow.com -o testSO.html` – Thomas Jager Jun 26 '18 at 12:23
  • @ThomasJager its working when i'm `cURL` what you wrote, only after i switched some of the `curl` files in Git folder with new ones from https://curl.haxx.se , but still when try to clone the repository it give the same error. * maybe because it's installed on Windows Server 2016? does Git support this OS ? – Eitanmg Jul 04 '18 at 16:16
  • @Eitanmg: that's not a bad guess, but if you're using "Git for Windows", then that should be supported: https://gitforwindows.org/requirements.html (if you're using another git distribution, you'll have to check with them). – Joachim Sauer Mar 02 '23 at 11:13

0 Answers0