Answers for "clone a specific repo directory github"

58

Clone a specific repository

git clone --single-branch --branch <branchname> <remote-repo>
Posted by: Guest on April-02-2020
1

git clone directory from repository

git clone [repo]
cd [name of sub-dir]
git filter-branch --prune-empty --subdirectory-filter [path to sub-dir] HEAD
Posted by: Guest on November-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language