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