简体   繁体   中英

simple quotes on git windows with curl

i am trying to push a local repository to github in windows.

i have the problem with simple quotes in a commit so i just put double quotes and that solve the problem.

but now i am trying to push and this tell me that

i am doing this in a new local repo

cd folder
git init
git add --all
git commit -m "commit"
git config remote.origin.url https://...../repo.git
git push -u origin master

fatal unable to access 'https://........' protocol https not supported or disabled in libcurl

i read that curl can have problems with the url in simple quotes, i think that can be the problem, but i don't know how to change the git config to use double quotes instead of simple quotes in a push. anyone knows how to do that?

or if this can be solved in other way, thanks everyone.

This is unrelated to the quotes. The libcurl your git is using was simply built without HTTPS support. You need a libcurl built with HTTPS support to be able to use git repositories over HTTPS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM