gitlab 报错 The project you were looking for could not be found or you don't have permission to view it.

gitlab项目组下创建项目

$ git push -u git@192.168.101.129:/DrvOps/Dev_Test :

报错信息如下:

remote: ========================================================================
remote:
remote: The project you were looking for could not be found or you don't have permission to view it.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
image

解决步骤

第一步查看用户权限

权限是Maintainer
image

第二步查看组路径是否与push的路径一致

image
发现是路径写错了,注意路径必须与gitlab的保持一致
$ git push -u git@192.168.101.129:/devops/Dev_Tes :

posted @ 2021-07-06 13:38  老头还我葵花宝典  阅读(9627)  评论(0编辑  收藏  举报