Skip to content

Instantly share code, notes, and snippets.

@Matticusau
Created June 13, 2018 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Matticusau/2d9d83cd90c6a3067010ec131962a84a to your computer and use it in GitHub Desktop.
Save Matticusau/2d9d83cd90c6a3067010ec131962a84a to your computer and use it in GitHub Desktop.
Clone and extract Sql Server Samples for demos
# clone the repo
git clone -n https://github.com/Microsoft/sql-server-samples .\sql-server-samples
# check out the repo so you can use the demo files
cd sql-server-samples
git config core.sparsecheckout true
echo samples/features/* | out-file -append -encoding ascii .git/info/sparse-checkout
echo samples/demos/*| out-file -append -encoding ascii .git/info/sparse-checkout
git checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment