IDEAProblem(一)IDEA 中git 无法自动push 提交问题 Push failed: Failed with error: Could not read from remote rep

一、问题描述

在IDEA中我向github提交代码至远程分支,使用push。出现:
Push failed: Failed with error: Could not read from remote repository.

二、问题分析

经过分析,需要过程相关的账号设置。

三、问题解决

1)点击File->点击setting
这里写图片描述
在上面的页面中输入自己的github的账号和密码,点击apply
2)在点击Git
这里写图片描述
选择Native,点击apply。
这样就完美解决了那个问题了。

猜你喜欢

转载自blog.csdn.net/zhang918784312/article/details/80947435