一、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页面可以查看得到,记住需要的哪一个即可。

 

相关文章:

  • 2021-06-11
  • 2021-04-13
  • 2021-09-25
  • 2022-01-08
  • 2022-01-06
  • 2021-12-17
  • 2021-07-29
  • 2021-09-02
猜你喜欢
  • 2021-08-17
  • 2021-10-13
  • 2021-09-01
  • 2021-05-13
  • 2021-12-14
  • 2021-11-22
  • 2021-12-05
相关资源
相似解决方案