Since a few days I got an issue with Mac OS High Sierra 10.13.3 :
When I run a git clone
like git clone github.com/xxx.git failed
it print:
Since you're using LibreSSL
, try re-installing curl
with OpenSSL
instead of Secure Transport.
All options have been removed from the curl
formula, so now you need to install via:
brew install curl-openssl
Install curl
with --with-openssl
:
brew reinstall curl --with-openssl
Note: If above won't work, check brew options curl
to display install options specific to formula.
Here are few other suggestions:
http_proxy
/https_proxy
.-v
to curl
for more verbose output.curl
at /usr/bin/curl
, run which -a curl
to list them all.curl
in your firewall (such as Little Snitch).wget
.1) Tried creating a new branch and pushing. Worked for a couple of times but faced the same error again.
2)Just ran these two statements before pushing the code. All I did was to cancel the proxy.
$ git config --global --unset http.proxy
$ git config --global --unset https.proxy
3) Faced the issue again after couple of weeks. I have updated homebrew and it got fixed