Answers for "site:stackoverflow.com git clone specific folder"

0

site:stackoverflow.com git clone specific folder

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.
Posted by: Guest on September-18-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language