1 |
Robin H. Johnson писал 2012-05-23 20:19: |
2 |
> On Wed, May 23, 2012 at 07:58:17PM +0300, Alexey Shvetsov wrote: |
3 |
>> Isnt git works with shallow clone? like |
4 |
>> # git clone --depth 1 <or any other desired value> |
5 |
>> git+ssh://gitrepo.uri::repo |
6 |
>> |
7 |
>> So you can clone in this manner and push changes back |
8 |
>> |
9 |
>> Also for depth = 1 pack size will be similar to gzipped rsync |
10 |
>> snapshot |
11 |
>> (~40M) |
12 |
> The shallow clone is still a shallow clone of the entire repo, and |
13 |
> you |
14 |
> get the subtree checkout as just part of that. |
15 |
> |
16 |
> Shallow clones are also read-only last I checked. |
17 |
|
18 |
That isnt true =) you can commit from shallow clone if and only if |
19 |
original repo doesnt have a branching and merging points before and |
20 |
after shallow clone point respectively |
21 |
-- |
22 |
Best Regards, |
23 |
Alexey 'Alexxy' Shvetsov |
24 |
Petersburg Nuclear Physics Institute, NRC Kurchatov Institute, |
25 |
Gatchina, Russia |
26 |
Department of Molecular and Radiation Biophysics |
27 |
Gentoo Team Ru |
28 |
Gentoo Linux Dev |
29 |
mailto:alexxyum@×××××.com |
30 |
mailto:alexxy@g.o |
31 |
mailto:alexxy@×××××××××××××.ru |