Skip to content

Commit 2d28dbb

Browse files
committed
Addressed warnings for PR 5871, adding --filter=blob:none as well
1 parent 11737bc commit 2d28dbb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

hub/package-manager/package/repository.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ To create a fork of the Windows Package Manager Community repository and clone t
5959
2. From Windows Command Prompt or PowerShell, use the following command to clone your fork.
6060

6161
```powershell
62-
git clone --no-checkout <your-fork-name>
62+
git clone --filter=blob:none --no-checkout <your-fork-name>
6363
```
6464
6565
### Step 4: Setup sparse checkout
6666
6767
Sparse checkout allows you to choose which parts of a repository you want to download, instead of downloading everything.
68-
In the previous step, `--no-checkout` means that no files have been downloaded yet.
68+
In the previous step, `--filter=blob:none` means that the commit history has not been downloaded yet, and `--no-checkout` means that no files have been added to the working copy (the index) yet.
6969
7070
Before downloading anything, you'll have to specify filters for sparse checkout to use (stored in `.git/info/sparse-checkout`).
7171
@@ -101,7 +101,7 @@ You can now apply the sparse checkout settings by running the normal checkout co
101101
git checkout
102102
```
103103

104-
Even if the folder you want to submit hasn't been committed to the repository yet, you must still run the checkout command, as it will be impossible to push without the Git internals it sets up.
104+
Even if the folder you want to submit hasn't been committed to the repository yet, you must still run the checkout command, as it will be impossible to add (and thus commit) anything without the Git internals it sets up (the index).
105105

106106
If you are entering multiple submissions, create a branch instead of a fork. We currently allow only one manifest file per submission.
107107

0 commit comments

Comments
 (0)