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验证登录

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM