Make a push to a Gitlab cloned project


#1

Hi, I have cloned a repository from Gitlab and now I want to make a push but I am receiving an error message:

felipepvc:~/workspace (master) $ git push origin master

Warning: Permanently added the RSA host key for IP address ‘52.167.219.168’ to the list of known hosts.
Counting objects: 27, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (26/26), done.
Writing objects: 100% (27/27), 289.80 KiB | 0 bytes/s, done.
Total 27 (delta 7), reused 0 (delta 0)
remote: GitLab: You are not allowed to push code to protected branches on this project.
To gitlab.com:VyuduThemes/farol-bootstrap-theme.git
_ ! [remote rejected] master -> master (pre-receive hook declined)_
error: failed to push some refs to ‘git@gitlab.com:VyuduThemes/farol-bootstrap-theme.git’

Can anyone help me to deal with this? I have already read something about a bug related to the version of Github, but I saw that it is not possible to downgrade c9’s GitHub installation and it seems that the problem has already been fixed in recent versions of Gitlab. So, I am stuck!

I would really appreciate a little help here. Thank you very much!


#2

You control all of the software on your Ubuntu workspace so you can install and update packages using the apt package manager.

The error message that you’re seeing looks like you don’t have permission to push to the master branch on gitlab.com:VyuduThemes/farol-bootstrap-theme.git. This is something that you would need to configure on gitlab.com.