Adding virtual refs for repo hosted at github.com

Does github.com has support for adding virual refs like gilote as discussed in gitolite or gitosis: permission on directory inside of the repository ?

I need to restrict access at directory level inside the repo.

  • List all commits in a topic branch
  • Git status and commit not showing files anymore
  • How to remove commits from master without 'revert' or 'rebase' commands?
  • Specify Yarn dependency install path
  • How to see which commits in one branch aren't in the other?
  • Git not able to recognise addition of .xcscheme files in xcode project
  • Any clues?

  • Sharing a repo without git-daemon
  • How do I rebase while skipping a particular commit?
  • Can SVN do this or should i move to Git
  • git reports - get changed files
  • How to get a list of Ostream or Oinfo in a variable from a repository path in gitpython?
  • Git enumerates nonexistent untracked files slowly
  • 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.

    Git Baby is a git and github fan, let's start git clone.