目錄:
一、前提
二、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驗證登錄