Force Push to non protected branches by Developer or Owner fails
Created by: mmilkin
git checkout -b 'test_branch'
vi test.file
git branch
git add test.file
git commit -m "adding file"
git push origin test_branch
git rebase origin/master
....
git push origin +test_branch
Counting objects: 240, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (219/219), done.
Writing objects: 100% (240/240), 45.70 KiB | 0 bytes/s, done.
Total 240 (delta 155), reused 21 (delta 21)
remote: error: denying non-fast-forward refs/heads/test_branch (you should pull first)
To [email protected]:app/app.git
! [remote rejected] test_branch -> test_branch (non-fast-forward)
error: failed to push some refs to '[email protected]:app/app.git'
It looks like GitLab 7.12.2 30bffd58 has a bug where owner or developer can not push the branch