this post was submitted on 07 Sep 2026
270 points (98.9% liked)

Programmer Humor

33168 readers
826 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 

I swear someones just using it as a harder drive at this point

you are viewing a single comment's thread
view the rest of the comments
[โ€“] onlinepersona@programming.dev 2 points 1 day ago (1 children)

This is the documentation from git clone --help

--depth=<depth>

Create a shallow clone with a history truncated to the specified number of commits. Implies --single-branch unless --no-single-branch is given to fetch the histories near the tips of all branches. If you want to clone submodules shallowly, also pass --shallow-submodules.

oh that's my fault. i confused shallow with sparse (--sparse). my bad.