📌  相关文章
📜  site:stackoverflow.com git clone 特定文件夹 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:49:48.538000             🧑  作者: Mango

代码示例1
git init
git remote add [REMOTE_NAME] [GIT_URL]
git fetch REMOTE_NAME
git checkout REMOTE_NAME/BRANCH -- path/to/directory
//to clone specific folder from remote repo (i.g.github).
//1.create folder in your local machine to be the container.
//2.perform above commands in the created folder.