git push常见报错

git push常见报错

1.1 gitlab账号权限问题

+ git push origin dev
remote: GitLab: You are not allowed to push code to protected branches on this project.        
To https://lcpcicd:Wuj5d82Tsd98i%40noah@192.168.48.50/ecs-platform/ecs2.git
 ! [remote rejected] dev -> dev (pre-receive hook declined)
error: failed to push some refs to 'https://lcpcicd:Wuj5d82Tsd98i%40noah@192.168.48.50/ecs-platform/ecs2.git'
posted @ 2022-07-11 14:50  liwenchao1995  阅读(342)  评论(0编辑  收藏  举报