git push origin DENIED by fallthru, hook declined: gitolite

后端 未结 2 713
一整个雨季
一整个雨季 2021-02-13 06:19

I am having a problem pushing with git using Gitolite.
When I try this:

git push origin :refs/tags/deployment

I get this erro

2条回答
  •  忘了有多久
    2021-02-13 07:10

    You need RW+ permission for ref changes/deletion

    RW+, for "push -f" or ref deletion allowed (i.e., destroy information)

    Also, if you're using V2 this may apply:

    RWD and RW+D, for ref deletion. Once you use this in a repo, a normal RW+ can no longer delete a ref; it can only rewind

    Sources:

    http://sitaramc.github.com/gitolite/g2/conf.html

    http://sitaramc.github.com/gitolite/rules.html

提交回复
热议问题