Appearance
稀疏检出的方式,操作起来还是有点难受的。直接用浅克隆也行,至少查看的历史记录少很多了。
克隆一个 monorepo 仓库,深度为 1,克隆到目录 gh.vercel.examples 。
git clone --depth=1 https://github.com/vercel/examples gh.vercel.examples
拿到了全部的文件,但是只有 1 条历史记录。
该情况很适合去阅读别人的 monorepo,特别是那种 demo 集合。
569e4fa
7cf5d91
db6a048