git init
git remote add -f origin [저장소]
git config core.sparseCheckout true
echo [저장할 위치] >> .git/info/sparse-checkout
git pull origin main
참고 :
https://chinsun9.github.io/2022/01/02/git-clone-specific-directory/
https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository
Leave a Reply