Skip to content

luckyboylch/GitUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

GitUtils

脚本功能:主要用于下载GitHub项目中某个子文件或某个子目录。
示例-下载某个子文件:
bash downUtils.sh \
--down_url="https://github.com/geekhac/todomvc/blob/master/examples/ampersand/node_modules/todomvc-common/base.css" \
--dst_dir="C:/Users/xxx/Desktop/"
示例-下载某个子目录:
bash downUtils.sh \
--down_url="https://github.com/geekhac/todomvc/tree/master/examples/ampersand/node_modules" \
--dst_dir="C:/Users/xxx/Desktop/"

说明:实际还是会下载整个项目,只不过Git操作时会隐藏其他内容。需要提前安装好Git工具。

About

下载GitHub项目子文件或子目录

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages