git clone: fatal: Unable to find remote helper for 'https'錯誤的解決辦法

該問題是由 git configure 配置時沒有設定 --with-curl --with-expat 造成。

參考:git INSTALL文件:

“libcurl” library is used by git-http-fetch and git-fetch. You might also want the “curl” executable for debugging purposes. If you do not use http:// or https:// repositories, you do not have to have them (use NO_CURL).


“expat” library; git-http-push uses it for remote lock management over DAV. Similar to “curl” above, this is optional (with NO_EXPAT).


CentOS的話,使用yum安裝curl開發相關庫後:

$ yum install libcurl-devel

重新配置編譯git即可。


參考:

http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https

http://rcmdnk.github.io/blog/2013/07/27/computer-cygwin-git/



轉載自:http://blog.csdn.net/robertsong2004/article/details/38904681

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章