git push origin DENIED by fallthru, hook declined: gitolite

后端 未结 2 714
一整个雨季
一整个雨季 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:11

    This worked for me, when nothing else would:

    cd ~gitlab/gitlab
    sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_keys RAILS_ENV=production
    sudo -u gitlab -H bundle exec rake gitlab:gitolite:update_repos RAILS_ENV=production
    

提交回复
热议问题