Reputation: 9599
Is it possible to pull/clone only one folder from a git repository instead of of the whole structure?
Upvotes: 4
Views: 162
Reputation:
As said, you can only clone repositories as a whole, and not parts of them. If you need to, you might have put different projects into a single repository. This is good in subversion, but not recommendable in Git. If this is the case, split your repository into multiple repositories (one for each project), and aggregate these repositories in a central one using git submodule
.
Upvotes: 3