我想在我们的gitblit存储库中实现块强制推送机制。我想要一个预先接收的groovy脚本来这样做。有人可以帮忙。在此先感谢!!!!
答案 0 :(得分:0)
The simplest way to avoid force pushes is to assign RW permissions rather than RW+. If you really want to grant RW+ permission but block it's use, then you'll have to implement a variation of this hook script.