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