码迷,mamicode.com
首页 > 其他好文 > 详细

To ssh://xxx.com:8022/test/project.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://xxx.com:8022/test/project.git'

时间:2019-09-09 13:15:25      阅读:84      评论:0      收藏:0      [点我收藏+]

标签:error:   提交   repo   master   项目   osi   receive   com   路径   

 

 

To ssh://xxx.com:8022/test/project.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ‘ssh://xxx.com:8022/test/project.git‘


权限问题,项目创建者权限不够,需要maintainer或者owner 权限的人才能提交数据,提交完成后,可以修改项目的权限,
打开以下路径
project -> Settings -> Repository -> Protected Branches
然后修改可以push的权限组


然后项目创建者就可以push了

To ssh://xxx.com:8022/test/project.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://xxx.com:8022/test/project.git'

标签:error:   提交   repo   master   项目   osi   receive   com   路径   

原文地址:https://www.cnblogs.com/sea-stream/p/11490981.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!