git push时报错 ssh: Could not resolve hostname origin: Name or service not known fatal: Could not read from remote repository.


ssh: Could not resolve hostname origin: Name or
service not known
fatal: Could not read from remote repository.

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

刚开始 一直以为是 没连上远程仓库的问题,鼓捣了一上午,

发现 是因为 我命令敲的 

git push origin: 远程分支名

正确应该是:

git push origin dev:data-dev

 

 

 

 

 

 

 


免责声明!

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



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