Description
How to do git clone clean source code
If your github access is not good, please download the full existing git repo archive from nuclei-linux-sdk-2024.09.02.tar.xz
Github访问很慢就直接下载我们提前准备好的完整仓库,不经常更新,需要自己手动fetch更新 nuclei-linux-sdk-2024.09.02.tar.xz
- Old 2024.05.30 version can be found here https://drive.weixin.qq.com/s?k=ABcAKgdSAFcojrVCJQ
tar -xJvf nuclei-linux-sdk-2024.09.02.tar.xz
This repo is a big repo with many submodule repos, a full clone required about 10G space, and rely on a stable network connection to github.com, if you don't have good network connection, please try other ways list in the bottom
Basic clone source code step can be found in https://github.com/Nuclei-Software/nuclei-linux-sdk?tab=readme-ov-file#clone-repo , please read it carefully including the comment in it.
NOTE When you clone source code, you can add
--depth 1
to speed up, see https://cloud.tencent.com/developer/article/2212263
If you are switch to a new branch, remember to sync and update submodule source code, and check git status to make sure source code is clean.
git switch
require git version >=2.23
, see https://git-scm.com/docs/git-switch
For example, here I switched to feature/fsl
branch, successful submodule update like this:
If you get status message like this, it means the submodule repo is not updated
WARNING: No longer available now: When you do submodule update, you get error message like this, please check github connection or switch to gitee mirror of nuclei linux sdk https://gitee.com/Nuclei-Software/nuclei-linux-sdk
gitee mirror project https://gitee.com/Nuclei-Software/linux is blocked now! No longer accessable.
Other ways to get source code
NOTICE: We don't provide any tech support for using github mirror website!!!
- You can also take a try with github mirror website https://githubfast.com/, for this repo https://githubfast.com/Nuclei-Software/nuclei-linux-sdk
- You can also seach github mirror website, and follow steps provided by them, such as https://github.com/RC1844/FastGithub, https://gitclone.com/
- You can also try our docker image, see Using prebuilt linuxsdk docker image #8
- You can also try our prepared nuclei linux sdk source code here: 如何下载最新的源码(无git) How to download latest source code without git #4