this post was submitted on 07 Sep 2026
276 points (98.9% liked)
Programmer Humor
33828 readers
1652 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments

no shallow is
--shallow. the difference is--depthrefers to the history (as reported by, e.g.git log), whereas shallow will only check out the root of the repository and any paths explicitly specified. i guess the article is describing some sort of problem with users who convert their shallow repository to a regular full repo. i wouldn't know a lot about that.This is the documentation from
git clone --helpoh that's my fault. i confused shallow with sparse (
--sparse). my bad.