git--remote: The project you were looking for could not be found or you don't have permission to view it.


在执行git clone的时候遇到报错:remote: The project you were looking for could not be found or you don't have permission to view it.

可以确认该git地址是存在的,并且我也是有权限的

执行命令:git config --list检查信息也没有错,需要在git命令里涉及到仓库地址的地方加上自己的用户名,如:

git remote add origin http://zhangsan@gitlab.xxxx.com/abc.git

git clone http://zhangsan@gitlab.xxxx.com/abc.git

 


免责声明!

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



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