1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

Recommend partial clone instead of shallow clone, remove unused blobs (#1078)

This commit is contained in:
John Ryan
2022-04-14 15:42:16 -07:00
committed by GitHub
parent 50731ab2fa
commit 06065d7e0a
4 changed files with 5 additions and 2 deletions

View File

@@ -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