Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| git_bare_shallow_clones [2019/09/19 10:35] – [shallow (--depth 1) clone] rpjday | git_bare_shallow_clones [2019/09/19 10:56] (current) – [shallow (--depth 1) clone] rpjday | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| </ | </ | ||
| - | ==== shallow (--depth 1) clone ==== | ||
| - | < | ||
| - | $ git clone --depth 1 --branch master https:// | ||
| - | Cloning into ' | ||
| - | remote: Enumerating objects: 507, done. | ||
| - | remote: Counting objects: 100% (507/507), done. | ||
| - | remote: Compressing objects: 100% (394/394), done. | ||
| - | remote: Total 507 (delta 113), reused 352 (delta 96), pack-reused 0 | ||
| - | Receiving objects: 100% (507/507), 13.92 MiB | 11.22 MiB/s, done. | ||
| - | Resolving deltas: 100% (113/113), done. | ||
| - | $ | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | $ du -s shallow | ||
| - | 36112 shallow | ||
| - | $ | ||
| - | </ | ||