3 ms·
> but there still doesn't seem to be a way to sparse-checkout without fetching the entire .git repo. I'm not entirely sure if this is what you want, but sparse
by wfn 12y ago
> but there still doesn't seem to be a way to sparse-checkout without fetching the entire .git repo.
I'm not entirely sure if this is what you want, but sparse-checkouting only parts of the repo is possible: http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/ http://jasonkarns.com/blog/subdirectory-checkouts-with-git-s...
For cloning a particular branch, there's also (since 1.7.10)
git clone -b your_branch_name --single-branch git://some.remote/repo.git