Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
git_bare_shallow_clones [2019/09/19 10:35] – [shallow (--depth 1) clone] rpjdaygit_bare_shallow_clones [2019/09/19 10:56] (current) – [shallow (--depth 1) clone] rpjday
Line 21: Line 21:
 </code> </code>
  
-==== shallow (--depth 1) clone ==== 
  
-<code> 
-$ git clone --depth 1 --branch master https://github.com/progit/progit2.git shallow 
-Cloning into 'shallow'... 
-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. 
-$ 
-</code> 
- 
-<code> 
-$ du -s shallow 
-36112 shallow 
-$ 
-</code> 
  • git_bare_shallow_clones.1568889350.txt.gz
  • Last modified: 2019/09/19 10:35
  • by rpjday