idea-使用idea的github添加账号连接github报错

目录:

一、前提

二、idea关联git

三、idea添加github账号

四、解决方案

版本:

一、前提

安装好git-for-windows

安装好idea

gitbub官网注册账号

二、idea关联git

三、idea添加github账号

输入注册号的github账号密码

 

 

 报错了:

The password is not saved and is only used to generate a GitHub token

Invalid authentication data.404 Not Found-Not Found

git已经安装测试没有问题,账号在github网站上是可登陆的,但是使用idea的github添加账号连接github报错

四、解决方案:使用token验证登录

1、登录GithHub

头像→Settings→Developer settings→Personal access tokens→Generate new token

 

 

 

 

 2、Note处填token描述→Select scopes全部勾选给所有权限→Generate token

 

 

3、复制token,保存到一个地方

 

 

4、IDEA中改用token验证登录

 

 

 

posted @ 2021-06-24 16:09  MmeChan  阅读(1537)  评论(1)    收藏  举报