git push时报错 ssh: Could not resolve hostname origin: Name or service not known fatal: Could not read from remote repository.
Posted on 2020-08-13 14:25 嗷呜~ 阅读(3349) 评论(0) 编辑 收藏 举报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