📅  最后修改于: 2022-03-11 14:49:48.538000             🧑  作者: Mango
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.