Hacker News new | ask | show | jobs
by jackyb 4398 days ago
Use "git clone --depth [depth] [remote-url]"?
1 comments

Even with depth=1 it still pulls the .git/ blobs for the entire repo. The use case is: only want a subdirectory, and only want the repo/history objects for that subdirectory.