Git: privatize a section of a repo
03 Apr 2012, 13:24
jason m (1 post)
i am currently using git to manage our configuration manager (bcfg2, chef, puppet, etc) This can be checked out by anyone, like our developers etc. However currently in order to protect our sudoers file and password files etc we are using a git submodule so only specified users can check out that certain part.
This causes a lot of issues if people change branches in one and not the other and then commit. Is there a way without using git submodules to protect a certain part of a repo?
|You must be logged in to comment|