OpenWRT git clone致命:无法找到'http'的远程助手

Yas*_*nov 7 git openwrt

我正在尝试将LINC-Switch安装到OpenWRT并坚持以下问题:

git clone https://github.com/FlowForwarding/LINC-Switch.git
Run Code Online (Sandbox Code Playgroud)

并得到一个错误:

git fatal: Unable to find remote helper for 'https'
Run Code Online (Sandbox Code Playgroud)

根据这个链接,我在Makefile中编译了没有NO_CURL标志的git包.我甚至重新编译dist试图解决问题.

有任何想法吗?

小智 25

只需使用git-http代替.

opkg remove git
opkg install git-http
Run Code Online (Sandbox Code Playgroud)


Maa*_*zak 5

正如 Nemo Alex 建议的那样,除了使用 之外git-http,您还应该安装ca-bundle

opkg update
opkg remove git
opkg install git-http
opkg install ca-bundle
Run Code Online (Sandbox Code Playgroud)