Adding virtual refs for repo hosted at github.com
I need to restrict access at directory level inside the repo.
One Solution collect form web for “Adding virtual refs for repo hosted at github.com”
No, at least not as gitolite VREF.
On Github side, there are a post-receive hook or webhooks, but the are after the push.
The only way to really guard a directory within one Github repo is to make/export that directory in its own GitHub repo, and declare it as a submodule in the first repo.