1 |
On Wed, May 23, 2012 at 07:58:17PM +0300, Alexey Shvetsov wrote: |
2 |
> Isnt git works with shallow clone? like |
3 |
> # git clone --depth 1 <or any other desired value> |
4 |
> git+ssh://gitrepo.uri::repo |
5 |
> |
6 |
> So you can clone in this manner and push changes back |
7 |
> |
8 |
> Also for depth = 1 pack size will be similar to gzipped rsync snapshot |
9 |
> (~40M) |
10 |
The shallow clone is still a shallow clone of the entire repo, and you |
11 |
get the subtree checkout as just part of that. |
12 |
|
13 |
Shallow clones are also read-only last I checked. |
14 |
|
15 |
-- |
16 |
Robin Hugh Johnson |
17 |
Gentoo Linux: Developer, Trustee & Infrastructure Lead |
18 |
E-Mail : robbat2@g.o |
19 |
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 |