Answers for "cloning one folder from github"

2

github clone to local folder

cd folder/to/clone-into/
git clone https://github.com/your-repo/project-name.git
Posted by: Guest on March-30-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