mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Recommend partial clone instead of shallow clone, remove unused blobs (#1078)
This commit is contained in:
@@ -19,10 +19,13 @@ For example:
|
|||||||
svn co https://github.com/flutter/samples/trunk/provider_shopper
|
svn co https://github.com/flutter/samples/trunk/provider_shopper
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also use a shallow clone to download just the latest revision:
|
You can also use a
|
||||||
|
[partial clone](https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/)
|
||||||
|
to skip blob objects that aren't currently checked out,
|
||||||
|
while including the full commit history:
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone --depth 1 https://github.com/flutter/samples.git
|
git clone --filter=blob:none https://github.com/flutter/samples.git
|
||||||
```
|
```
|
||||||
|
|
||||||
## Interested in contributing?
|
## Interested in contributing?
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 19 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 16 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 MiB |
Reference in New Issue
Block a user