5 ms·
This post is about Mercurial with which i'm not familiar, but in Git you can checkout a subtree since version 1.7[1]. It's commonly called "sparse checkout".
by tux1968 10y ago
This post is about Mercurial with which i'm not familiar, but in Git you can checkout a subtree since version 1.7[1].
It's commonly called "sparse checkout".
[1] http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ http://jasonkarns.com/blog/subdirectory-checkouts-with-git-s...
- glandium 10y agoBut you still need to clone the whole thing. Sparse clones are theoretically possible, but aren't implemented AFAIK.