We have many small repos on a particular dev machine. This is a machine used by sysadmins.
People are suposed to always check in code as themselves. But some people get sloppy and commit as root.
I would like to know the most efficient way to block root from using git.
I’m thinking the best way would be something in /root/.gitconfig but I havent found the magic yet.