how to clone only sub directory git
Cloning only a subdirectory is not possible in Git.
The network protocol doesn't support it,
the storage format doesn't support it.
Every single answer to this question always clones the whole repository.
how to clone only sub directory git
Cloning only a subdirectory is not possible in Git.
The network protocol doesn't support it,
the storage format doesn't support it.
Every single answer to this question always clones the whole repository.
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us