Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Unless you're checking out old commits, `git clone --depth=1`. Then you get close to the ideal download size for any given repo.


If that is ideal why is it not the default?


Because it's unexpected behavior and not what you want most of the time. It's ideal in the sense of bytes on the wire.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: