A Basil Plant@lemmy.worldtoLinux@lemmy.ml•Which Linux tool or command is surprisingly simple, powerful, and yet underrated?"
4·
6 days ago--depth=1
? I use this all the time when I clone the kernel.
Edit: reread that you wanted to download code at a particular commit.
Can single-branch handle cloning from a particular commit? I know that it’s possible to clone particular branches and particular tags with depth=1, but OP states cloning at a particular commit, not HEAD.