git-katas icon indicating copy to clipboard operation
git-katas copied to clipboard

Make a sparse checkout exercise

Open martinmosegaard opened this issue 8 years ago • 1 comments

Usecase: There is a giant repo and a person with a specific role will only ever edit a few files in a couple of subdirectories. How can that person get only those files on his local computer?

See also https://stackoverflow.com/questions/600079/how-do-i-clone-a-subdirectory-only-of-a-git-repository/13738951

martinmosegaard avatar Oct 13 '17 07:10 martinmosegaard

Could be perhaps also be combined or supplemented by a shallow-clone

RandomSort avatar Oct 13 '17 11:10 RandomSort