4 ms·
> That's not something that you can do in git: it's all or nothing. That is partially incorrect; you can restrict writes via hooks but not reads; you'd need a
by PunchyHamster 4mo ago
> That's not something that you can do in git: it's all or nothing.
That is partially incorrect; you can restrict writes via hooks but not reads; you'd need a workaround like submodules
- jmaw 4mo agoDoes `--no-verify` override the restriction via hooks, or are there some kind of server-side hooks that can be used?
- PunchyHamster 4mo agono-verify cancels local hooks, remote hooks are unaffected. Gitolite supports per-diectory/file write access natively, for gitlab you'd probably need to write your own.
- jmaw 4mo agoInteresting. I'll have to do so reading into remote hooks!