Is it possible to do a sparse checkout without checking out the whole repository first?
Please note that this answer does download a complete copy of the data from a repository. The git remote add -f command will clone the whole repository. From the man page of git-remote: With -f option, git fetch <name> is run immediately after the remote information is set up. Try this: mkdir myrepo cd myrepo … Read more