@onlinepersona@programming.dev
2026-09-09 19:46 UTC
This is the documentation from git clone --help
–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.
Replies (1)
-
@into_highest_invite@lemmygrad.ml 2026-09-10 00:57
oh that’s my fault. i confused shallow with sparse (–sparse). my bad.