Fix Sparse Checkout README command

This commit is contained in:
Ryan Zebian
2018-04-10 23:20:54 -07:00
committed by GitHub
parent c963e3bccf
commit 0a7207fa09
+1 -1
View File
@@ -21,7 +21,7 @@ Each sample should be in its own folder with a README.md file that follows the [
## Cloning only a subset of the repo (with sparse checkout)
You can follow the steps below to clone individual files from the sql-server-samples git repo. Note: The following script clones only the files under the **features** and **demos** folders.
```
git clone -n https://github.com/Microsoft/sql-server-samples.\sql-server-samples
git clone -n https://github.com/Microsoft/sql-server-samples
cd sql-server-samples
git config core.sparsecheckout true
echo samples/features/*| out-file -append -encoding ascii.git/info/sparse-checkout