What I want to do:
- Add a submodule to an existing repo
- Do a sparse checkout on that repo (only populate a subset of the working tree)
- Make it so that when other people clone/pull that repo, the details of that sparse checkout are inherited (so they also, by default, only populate that subset of the working tree)
Is this possible?
This answer suggests that that would not be possible ("sparse checkouts are exactly that: checkouts. You can't move files or share the settings"), but that was written in 2012 and things may have changed?