Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #git #clone #directory #repository
ADD COMMENT
Topic
Name
2+5 =