git push origin DENIED by fallthru, hook declined: gitolite git push origin DENIED by fallthru, hook declined: gitolite git git

git push origin DENIED by fallthru, hook declined: gitolite


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


This worked for me, when nothing else would:

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