Push failed: Failed with error: Could not read from remote repository.

Push failed: Failed with error: Could not read from remote repository.

 

        遇到这个问题:

            1:检查idea中的git 配置的SSH executable 是否为Native

 

 

            2.检查远程仓库的setting里面的deploy key是否有部署

                                Push failed: Failed with error: Could not read from remote repository.

                        Push failed: Failed with error: Could not read from remote repository.

            没有部署deploy key的,先检查ssh key是否部署,若ssh key 不行,再生成一个 key,部署到这个仓库上

            再试一遍是否可以