To pull specific folder from git repository or git repo
mkdir directoryName
cd directoryName
git init
git remote add origin -f <>
git config core.sparsecheckout true
echo / >> .git/info/sparse-checkout
git pull origin master
cd directoryName
git init
git config core.sparsecheckout true
git pull origin master
No comments:
Post a Comment