pre-receive hook declined
Hello, I was given a developer permission to a repo only made for me. The repo has a few files containing instructions but no README file. I successfully cloned the repo to my local pc. Made a few changes and commits.
However when I try to push I have been getting the following error:
work-trial-dennis-ojike % git push origin master Enter passphrase for key '/Users/denojike/.ssh/id_rsa': Enumerating objects: 66, done. Counting objects: 100% (66/66), done. Delta compression using up to 8 threads Compressing objects: 100% (63/63), done. Writing objects: 100% (65/65), 242.37 KiB | 7.34 MiB/s, done. Total 65 (delta 10), reused 0 (delta 0) remote: GitLab: You are not allowed to push code to protected branches on this project. To gitlab.com:relaxdays/work-trial-dennis-ojike.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'firstname.lastname@example.org:relaxdays/work-trial-dennis-ojike.git' *