3

We are developing using git and gitblit. When we have finished developing on some branch, it can be that still developer accidently commit on that branch which shouldn't be the case.

How to prevent the branch from further committing and merging hotfixes into it? Can permissions be changed on the branch somehow?

Max_Salah
  • 2,407
  • 11
  • 39
  • 68

1 Answers1

2

Gitblit (as of 1.8.0) does not directly support discrete branch permissions. You can either write a Groovy hook (example) or a custom plugin (example) to accomplish this.

James Moger
  • 1,721
  • 12
  • 12