一、window下下载openwrt源码

1、进入https://github.com/lede-project/source.git 网站

2、选择合适的版本下载

如何下载openwrt源码

二、linux下下载openwrt源码 

git clone <源码仓库地址> <目标文件夹,这个不设置则默认为仓库名字>
如下载LEDE:git clone https://github.com/lede-project/source.git lede
需要特定的版本,如(分支——branch, 标签——Tag,提交历史——commit)
cd <目标文件夹> ,执行git checkout:
已LEDE为例,cd lede:
指定的分支,则 git checkout <分支名字>,
指定Tag ,则 git checkout <Tag名字>
指定commit ,则 git checkout <commit id>
注意在使用是,<>是不需要输入的。branch Tag commit这些信息都在GitHub页面可以查看得到,记住需要的哪一个即可。

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-23
  • 2022-03-09
  • 2022-12-23
  • 2021-09-01
  • 2019-01-12
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-08
  • 2021-10-13
  • 2022-12-23
相关资源
相似解决方案