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'
原文地址:https://www.cnblogs.com/sea-stream/p/11490981.html
时间: 2024-12-10 14:36:51