Project Owner Can't Force Push to a Protected Branch (v6.8.2)
Created by: demisx
Hi. I've just noticed that if I make master
a protected branch, I can't push to it even though I am the owner of the project (see error below). If I unprotect the master
, then my push abilities are back. I am on GitLab 6.8.2.
[dmoore (master)]$ git push -f origin
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 342 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: GitLab: You are not allowed to access master!
remote: error: hook declined to update refs/heads/master
To [email protected]:company-apps/slideviewer.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '[email protected]:company-apps/slideviewer.git'