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

如何克隆github仓库的子目录 #17

Closed
kiinlam opened this issue May 25, 2020 · 0 comments
Closed

如何克隆github仓库的子目录 #17

kiinlam opened this issue May 25, 2020 · 0 comments

Comments

@kiinlam
Copy link
Owner

kiinlam commented May 25, 2020

原始命令方案有git、svn

参考资料:
https://unix.stackexchange.com/questions/233327/is-it-possible-to-clone-only-part-of-a-git-project

git

git 命令操作复杂,具体查看参考资料

svn

svn export https://github.com/${userName}/${repoName}/trunk/${directory}

需要将URL里的tree/master替换为trunk

工具

python工具ghclone

https://github.com/HR/github-clone

扩展工具

https://gitzip.org/

提供了chrome、Firefox扩展

底部有github源码仓库地址

@kiinlam kiinlam closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant