User Tools

Site Tools


git_bare_shallow_clones

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]
rpjday [shallow (--depth 1) clone]
git_bare_shallow_clones [2019/09/19 10:56] (current)
rpjday [shallow (--depth 1) clone]
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.txt ยท Last modified: 2019/09/19 10:56 by rpjday