7 ms·
That’s a hefty repository if all you want [1] is part of it. Subversion offers a way to download just a subdirectory; is there an analogous solution for Git? [
by aendruk 4y ago
That’s a hefty repository if all you want [1] is part of it. Subversion offers a way to download just a subdirectory; is there an analogous solution for Git?
[1]: https://github.com/HimbeersaftLP/ios-safari-remote-debug-kit/blob/bfa15e7/src/generate.sh#L16-L19 https://github.com/HimbeersaftLP/ios-safari-remote-debug-kit...
- a_t48 4y ago`git subtree` but it might still download the whole history
- gman83 4y agosparse-checkout -- https://github.blog/2020-01-17-bring-your-monorepo-down-to-size-with-sparse-checkout/ https://github.blog/2020-01-17-bring-your-monorepo-down-to-s...
- cerved 4y agono, that's still a full download, just the checkout is sparse
- notriddle 4y agoGitHub does: https://docs.github.com/en/get-started/importing-your-projects-to-github/working-with-subversion-on-github/support-for-subversion-clients https://docs.github.com/en/get-started/importing-your-projec...
- cerved 4y agoyou're looking for partial clone https://git-scm.com/docs/partial-clone https://git-scm.com/docs/partial-clone