How to install hooks in gitolite

前端 未结 2 1697
梦如初夏
梦如初夏 2021-02-14 23:01

I\'ve read all the documentation about hooks, similar questions and a lot of code but I can\'t track where is the error in my procedure. I need to install a simple hook in my gi

2条回答
  •  灰色年华
    2021-02-14 23:40

    you need to add an update.secondary hook in the directory then redeploy with gl-easyinstall. Take a look at the update hook that comes with gitolite. You will see that near the end, it calls update.secondary. If you provide that, it will work.

提交回复
热议问题