I'm trying to figure out what the cleanest way is to compose a public repository out of a subset of a private repository (or compose the private as a union with the public portion) and still have the shared files be updated in tandem. As an example, say I have these two files:
- public_file
- private_file
An end user should be able to pull only public_file, but maintainers should be able to modify both public_file and private_file. What git idiom would be suited to this kind of access control layout?