简体   繁体   中英

gitLab - not able to push local branches to remote

I have a developer access right provided for gitlab. I am not able to perform any kind of "push" operation to remote origin. Whether creating new local branch and trying pushing it or making changes to existing local branch and pushing it. Any suggestions or insights ?

Below is the error message I get immediately after I do push:

remote: git: /softwares/gitlab-5.2.1-0/common/lib/libcrypto.so.1.0.0: no version information available (required by git)        

remote: /softwares/gitlab-7.3.2-0/ruby/lib/ruby/gems/2.0.0/gems/bundler-1.7.0/lib/bundler/runtime.rb:222: warning: Insecure world writable dir /opt in PATH, mode 040777        
remote: GitLab: You are not allowed to access some of the refs!        
Pushing to http://10.200.10.66:90/yes/someservice.git
To http://10.200.10.66:90/yes/someservice.git
 ! [remote rejected] some_branch -> some_branch(pre-receive hook declined)



error: failed to push some refs to 'http://10.200.10.66:90/yes/someservice.git'

Completed with errors, see above. 

It looks like you try to push a protected branch.

If you are project owner, check the "Protected Branches" (current Gitlab version has it in the settings menu top right).

EDIT: In the current Gitlab version, the protected branches look like this: gitlab屏幕截图

Just unprotect some_branch or change who is allowed to push.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM