Skip to content

Instantly share code, notes, and snippets.

@mister-good-deal
Created December 14, 2015 13:39
Show Gist options
  • Save mister-good-deal/1031a655ab34bc20c20e to your computer and use it in GitHub Desktop.
Save mister-good-deal/1031a655ab34bc20c20e to your computer and use it in GitHub Desktop.
git init
git remote add -f origin <url_github>
git config core.sparseCheckout true
echo "dir1/dir2/dir3" >> .git/info/sparse-checkout
git pull origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment