git push -f origin master master Counting objects done Compressing obj

1
2
3
4
5
6
7
8
9
$ git push -f origin +master:master
Counting objects: 7, done.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 509 bytes, done.
Total 4 (delta 3), reused 0 (delta 0)
error: denying non-fast forward refs/heads/master (you should pull first)
To ssh://lunohod@git.openinkpot.org/srv/git/oi-build-firmware.git
! [remote rejected] master -> master (non-fast forward)
error: failed to push some refs to 'ssh://lunohod@git.openinkpot.org/srv/git/oi-build-firmware.git'