1.問題描述:
git已經安裝測試沒有問題,賬號在github網站上是可登陸的,但是使用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

2.問題原因:
不清楚
3.解決方案:使用token驗證登錄
3.1 登錄GithHub
頭像→Settings→Developer settings→Personal access tokens→Generate new token

3.2生成token
Note處填token描述→Select scopes全部勾選給所有權限→Generate token


3.3復制token,保存到一個地方

3.4 idea中改用token驗證登錄

