git 中遇到Could not read from remote repository

问题描述:在idea上使用git提交代码或者更新代码时出现的bug “fatal: Could not read from remote repository”。

思路   先弄清问题 翻译可得  (本地)无法读取数据库

这首   网络挂了 服务器挂了  ssh key 不匹配 

其他原因 使用sshkey 有问题   或者使用了代理(这个巨坑,有时候是因为开过代理软件,然后idea 就变化了)

git 中遇到Could not read from remote repository

正常的代理

git 中遇到Could not read from remote repository

这里可以更改使用本地ssh key

git 中遇到Could not read from remote repository

 

其他的可以使用git 命令  查看配置