码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2018-12-05 20:36:39      阅读:862      评论:0      收藏:0      [点我收藏+]

标签:could not   err   账号密码   config   题解   17.   .com   image   ima   

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

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

原因不明。

解决

1、进入项目目录

2、进入 .git 目录

3、修改.git/config 文件

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

技术分享图片

之后,问题解决。

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

标签:could not   err   账号密码   config   题解   17.   .com   image   ima   

原文地址:https://www.cnblogs.com/dongxiucai/p/10072368.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!