Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to do git clone clean source code 如何Clone下载干净的代码 #10

Open
fanghuaqi opened this issue Dec 27, 2022 · 2 comments
Open
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@fanghuaqi
Copy link
Member

fanghuaqi commented Dec 27, 2022

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

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:

image

If you get status message like this, it means the submodule repo is not updated

image

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.

image

Other ways to get source code

NOTICE: We don't provide any tech support for using github mirror website!!!

@fanghuaqi fanghuaqi self-assigned this Dec 27, 2022
@fanghuaqi fanghuaqi changed the title how to do git clone clean source code how to do git clone clean source code 如何Clone下载干净的代码 Dec 27, 2022
@fanghuaqi fanghuaqi added the documentation Improvements or additions to documentation label Dec 27, 2022
@fanghuaqi
Copy link
Member Author

fanghuaqi commented Sep 21, 2023

Gitee Mirror is no longer avaiable now, this linux repo https://gitee.com/Nuclei-Software/linux is blocked due to big size.

Please try other method to download source code mentioned in #12

image

image

@fanghuaqi
Copy link
Member Author

We have just update a new full repo for this nuclei linux sdk in 2024.09.02, see https://drive.weixin.qq.com/s?k=ABcAKgdSAFcgGSJQvc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant