r/git • u/second_square • Oct 21 '26
I wrote a git tool which could lock files and have ACL like Perforce
https://github.com/zhuzhonghua/blackgit
0
Upvotes
r/git • u/second_square • Oct 21 '26
1
u/paul_h Oct 21 '26
Per-directory write control doesn't appear to be there yet. Is that on your todo list? Very interesting though.
1
u/paul_h Oct 21 '26
Owners files can already govern should vs should not “edit without pull requests”.
20 years back in Google there was a single source file to do with cookie encryption that us consultants were not allowed to even see. We had a rot13 equivalent that could be used for dev/test workflows. That was solvable by read permissions though.
Write permissions differentiated from read permissions is still useful as a safety net (in the machine takeover from supply chain attack era) as an additional line of defense after must-use-PR or must-use-patch-queue