如何在 Teltonika 路由器(RutOS)上安装 git

在运行 RutOS 的 Teltonika 路由器上安装 git,请执行以下命令:

install-git.sh
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install git git-http

之后,你就可以使用 git 在路由器上克隆仓库并管理代码了。

注意:需要安装 git-http,git 才能与 httphttps 仓库交互(以避免出现 git: 'remote-https' is not a git command' 错误)。


Check out similar posts by category: Networking, Embedded