'remote-https' is not a git command. See 'git --help'.

树莓派使用opkg安装git后会出现此问题:git: 'remote-https' is not a git command. See 'git --help'.

解决方法:安装git-http即可解决

# root @ OpenWrt in /home/python [11:38:07] C:255
$ opkg install git-http
Installing git-http (2.33.1-1) to root...
Downloading https://mirrors.cloud.tencent.com/openwrt/snapshots/packages/aarch64_cortex-a53/packages/git-http_2.33.1-1_aarch64_cortex-a53.ipk
Configuring git-http.

# root @ OpenWrt in /home/python [11:38:56]
$ git clone https://github.com/lifegpc/bili.git
Cloning into 'bili'...
remote: Enumerating objects: 4140, done.
remote: Counting objects: 100% (269/269), done.
remote: Compressing objects: 100% (194/194), done.
remote: Total 4140 (delta 157), reused 160 (delta 74), pack-reused 3871
Receiving objects: 100% (4140/4140), 1.96 MiB | 3.29 MiB/s, done.
Resolving deltas: 100% (3114/3114), done.
正则匹配xxx之前xxx之后
树莓派烧录Openwrt镜像 以及一些踩坑