Is it possible to pull/clone only one folder from a git repository instead of of the who开发者_运维知识库le structure?
No it's not possible. You can only clone a whole repository.
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
.
精彩评论