We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0600f commit f887937Copy full SHA for f887937
aspnetcore/includes/git-download.md
@@ -0,0 +1,11 @@
1
+> [!TIP]
2
+> Use [`git sparse-checkout`](https://git-scm.com/docs/git-sparse-checkout) to only download the sample subfolder and the last commit. For example:
3
+```
4
+git clone --depth 1 --filter=blob:none https://github.com/dotnet/AspNetCore.Docs.git --sparse
5
+cd AspNetCore.Docs
6
+git sparse-checkout init --cone
7
+git sparse-checkout set aspnetcore/security/authorization/secure-data/samples
8
9
+
10
+In the preceding example, the `git sparse-checkout set` command specifies the path to the subfolder that you want to download. Replace
11
+`aspnetcore/security/authorization/secure-data/samples` with the path to the subfolder that you want to download.
0 commit comments