Skip to content

Instantly share code, notes, and snippets.

@pirogoeth
Created June 14, 2018 02:49
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 pirogoeth/2ae35f3525b7cbc5e8925548cd71bb87 to your computer and use it in GitHub Desktop.
Save pirogoeth/2ae35f3525b7cbc5e8925548cd71bb87 to your computer and use it in GitHub Desktop.
git sparse checkout
# Process to add salt repo
cd to salt repo
git clone https://github.com/saltstack-formulas/openssh-formula.git openssh
cd openssh/
git config core.sparsecheckout true
echo openssh/ >> .git/info/sparse-checkout
git read-tree -mu HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment