$ git push origin master -f Total 0 (delta 0), reused 0 (delta 0) remote: GitLab: You are not allowed to force push code to a protected branch on this project. To https://xxx.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://xxx.git'