Skip to content

Instantly share code, notes, and snippets.

View prachikhadke's full-sized avatar
🐽
The six honest serving-men: What, Why, When, How, Where and Who.

Prachi prachikhadke

🐽
The six honest serving-men: What, Why, When, How, Where and Who.
View GitHub Profile
@prachikhadke
prachikhadke / sparse_clones.md
Last active December 5, 2022 04:31 — forked from hofnerb/sparse_clones.md
Make sparse clone
git init <repo>
cd <repo>
git remote add -f origin <url>

This creates an empty repository with your remote, and fetches all objects but doesn't check them out. Then do:

git config core.sparseCheckout true