If you really need to include part of another repository in the history of your own repo, then a more efficient merge strategy is more adequate than submodules.
But in both cases, the full repository is associated with your repo, and not just with one directory.
And partial cloning is not possible .
You can try and isolate this directory in your own repository, and then add it as a submodule, but this means that its history will be completely separate from the repo that happened originally.
VonC Jul 01 '10 at 14:39 2010-07-01 14:39
source share