Created
October 21, 2020 17:20
-
-
Save mvillafuertem/404ff2be0db87432add8f6c929b280ca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Works in git 2.28 | |
git clone --filter=blob:none --no-checkout --depth 1 --sparse <project-url> | |
cd <project> | |
git sparse-checkout init --cone | |
Specify the files and folders you want to clone | |
git sparse-checkout add <folder>/<innerfolder> <folder2>/<innerfolder2> | |
git checkout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment