📜  来自存储库的 git clone 目录 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:51:09.641000             🧑  作者: Mango
代码示例4
git clone [repo]
cd [name of sub-dir]
git filter-branch --prune-empty --subdirectory-filter [path to sub-dir] HEAD