我刚刚标记了一个版本,我正在尝试将标记推送到服务器,但我收到以下错误
$ git push --tags
Counting objects: 1, done.
Writing objects: 100% (1/1), 190 bytes, done.
Total 1 (delta 0), reused 0 (delta 0)
remote: FATAL: W refs/tags/v3.1.01 project xxsmith DENIED by refs/.*
remote: error: hook declined to update refs/tags/v3.1.01
To ssh://git@server/project
! [remote rejected] v3.1.01 -> v3.1.01 (hook declined)
error: failed to push some refs to 'ssh://git@server/project'
为什么是这样?我拥有该帐户的全部权利。
我正在使用 gitolite .. 它可以是以下设置吗
repo project
RW+ master = @releasers # allow @releasers access to release branch
- master = @developers # deny @developers access to release branch
RW develop = @developers # allow @developers access to development branch
RW+ develop = @releasers # allow @developers access to development branch
- = @all # deny all other permissions