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 :


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM