perf: `--depth=1` shallow clones for end users
- rather than cloning the entire history of repos, can do a shallow clone with a [depth](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-code--depthcodeemltdepthgtem) of 1 - this should make it more efficient, particularly when there are many commits or many large commits - since the history is unused by regular end users, there is no need to fetch/download it - could alternatively do a [bare](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-code--barecode) clone to be even more efficient - but I thought a shallow clone is a bit less intrusive for now - and is reversible, if needed (i.e. a local shallow clone can fetch the rest of the depth) - also add syntax highlighting to the first code block, matching the second onepull/203/head
parent
1a2d3ad643
commit
3bbf8d8472
Loading…
Reference in New Issue