Re:GitHub Sunsetting Subversion Support
by maegul on Friday January 20, 2023 @06:43PM
(#34461843)
I recall needing/wanting to clone only a specific folder from a repo and the best solution being to use SVN.
I'm pretty sure I used that trick a few times and even shared it a couple of times. Don't know if it's possible with git now, but that was how I discovered this feature and it seemed eminently useful to me at the time!
[ Parent
| on HN ]
That's called a "sparse checkout" in git-land.
A sparse checkout isn't quite the same thing. It still has to clone the whole repository, it just only puts part of it in the working tree. With svn, you don't have to pull down anything for other directories. More recently, you can combine a sparse checkout with partial clone to get more similar functionality, but it isn't exactly simple.