removing a repo from a group in gitolite

I’ve a gitolite setup, my gitolite.conf file looks like,

@myrepos = test
@myrepos = proj1 proj2

repo @myrepos
    RW+ = user1 user2 user3 user4

Now, I’d like to give access to a new user “user5” to “proj2” alone.
Is there a way to do it in gitolite without removing the repo from the group?

  • can't add git submodule to repository
  • Working in a git branch with submodules and commiting directly from that branch
  • Git https:// repository not found though it exists
  • How to convert a readonly git clone from github to a forked one
  • Git: How to make *git rebase upstream/master* work around when there is removed files in the working branch?
  • Composer - adding git repository without composer.json
  • If I were to remove the repo “proj2” from the group to place it separately, would that break something?

  • How to remove a forked project from my Github profile
  • Git : git rm delete the file both locally and as well as in remote repository
  • Unlink of file failed
  • How do I count the number of git commits affecting a given subtree?
  • Git permissions issue
  • Adding git commit message to all files (even unchanged)
  • One Solution collect form web for “removing a repo from a group in gitolite”

    You could define another rule just for user5 and proj2, which means you don’t have to modify myrepos group.

    repo @myrepos
        RW+ = user1 user2 user3 user4
    
    repo proj2
        RW+ = user5
    
    Git Baby is a git and github fan, let's start git clone.