could not read Username for 'https://github.com': No error

用idea往github上push代码的时候,突然的不能用了。

报could not read Username for 'https://github.com': No error错误。

原因不明。

解决

1、进入项目目录

2、进入 .git 目录

3、修改.git/config 文件

把github的账号密码直接写死在url中

 

 

之后,问题解决。

posted @ 2018-12-05 17:53  董秀才  阅读(6947)  评论(0编辑  收藏  举报