解决IDEA 使用Git push 时报错Push failed Could not read from remote repository.

  • Post author:
  • Post category:其他

一、错误提示

Push failed
    Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.

二、解决方案:

进入该项目的.git文件夹 , 找到 config 文件 

双击打开

将 url 修改为 https格式的那个

三、在IDEA中从新push会弹出登陆界面,正确登陆后即可解决该问题 


版权声明:本文为Hubz131原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。