I tried to push the project to the repository of GitLab but there was an error occurred.
To https://gitlab.com/codersclan-interviews-frontend/codersclan-david-rose.git
! [remote rejected] test -> test (pre-receive hook declined)
error: failed to push some refs to 'https://gitlab.com/codersclan-interviews-frontend/codersclan-david-rose.git'
How can I fix this?
Git repository wasn't created by me, it was created by the client. And he asked me to push the code to the branch which I made by myself and let him know when I finish.
To do this task, I did like following
git clone https://gitlab.com/codersclan-interviews-frontend/codersclan-david-rose.git
git checkout -b 'test'
git branch test
add project
git add .
git commit -m "..."
git push origin test
I expected the successful push result but the above error occurred.