Search code examples
gitgit-branchbonobo

Remote Git branch authorization


I am using Bonobo Git Server for hosting my remote git. Is it possible to lock some branches in a repository so that it is only commit-able by authorize people? Other people can create their own branches on the repository and working on it, but not on the branches that has been locked.

Thank you.


Solution

  • Not easily, because this kind of fine-grained access control level is usually managed by gitolite, and installing gitolite on Windows is possible but not straightforward.

    It would involve Cygwin, with no good way to be called from the IIS instance managing the Bonobo server (as opposed to call Gitolite from an Apache server).