git clone git://git.openwrt.org/openwrt/openwrt.git //下载源码
git branch -a //查看所有分支
git checkout openwrt-21.02 --force //切换到21.02稳定分支
git checkout openwrt-19.07 --force
git checkout openwrt-22.03 --force
git pull //同步代码
./scripts/feeds update -a //更新安装
./scripts/feeds install -a
make menuconfig //配置
make download -j2 V=s //下载包
make -j2 V=s //编译