Skip to content

Commit f6d40be

Browse files
Update secure-data.md
1 parent 938590f commit f6d40be

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

aspnetcore/security/authorization/secure-data.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,14 @@ This tutorial is advanced. You should be familiar with:
6868
[Download](xref:index#how-to-download-a-sample) the [completed](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/security/authorization/secure-data/samples) app. [Test](#test-the-completed-app) the completed app so you become familiar with its security features.
6969

7070
> [!TIP]
71-
> To only clone the subfolder, use [`git sparse-checkout`](https://git-scm.com/docs/git-sparse-checkout) command as follows:
72-
> git clone --depth 1 --filter=blob:none https://github.com/dotnet/AspNetCore.Docs.git --sparse
73-
> cd AspNetCore.Docs
74-
> git sparse-checkout init --cone
75-
> git sparse-checkout set aspnetcore/security/authorization/secure-data/samples
71+
> Use [`git sparse-checkout`](https://git-scm.com/docs/git-sparse-checkout) to only downlowd the sample subfolder
72+
For example:
73+
```
74+
git clone --depth 1 --filter=blob:none https://github.com/dotnet/AspNetCore.Docs.git --sparse
75+
cd AspNetCore.Docs
76+
git sparse-checkout init --cone
77+
git sparse-checkout set aspnetcore/security/authorization/secure-data/samples
78+
```
7679

7780
### The starter app
7881

0 commit comments

Comments
 (0)