git - Unable to set the sslVerify to false -
actually i'm trying install ngcordova plugin sqlite. giving me error: unknown ssl protocol error in connection github.com:443 while accessing https://github.com/brodysoft/cordova-sqliteplugin.git/info/refs fatal: http request failed. on doing research, came across solution set sslverify false. not able set command git config http.sslverify "false" using command prompt. giving me error: not lock config file /.gitconfig: no such file or directory. tried doing manually editing gitconfig file; not happening
the error message mentioned trying set configuration printed when try set local git configuration when you're not in git repo. you'll need either set global (add --global
flag) configuration or cd existing git repo set repo.
ideally want limit scope of sslverify "false"
configuration, if you're trying initial clone may need set global setting (temporarily) using:
git config --global http.sslverify "false"
with set should able clone repo, @ point i'd recommend unsetting global configuration , setting in newly-cloned repo:
git config --global --unset http.sslverify cd <your newly-cloned repo> git config http.sslverify "false"
to verify configurations set after you're done can run:
git config --global --list git config --local --list
Comments
Post a Comment