AndroidStudio使用git出现Could not read from remote repository问题

问题

代码的版本控制一开始是使用https的请求方式,后来改成了ssh方式,commit代码是可以,但是push到远程仓库就会失败。报错 “Could not read from remote repository”,如下图
AndroidStudio使用git出现Could not read from remote repository问题

解决

标记的地方选择Native
AndroidStudio使用git出现Could not read from remote repository问题