Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
說密碼認(rèn)證已于2021-08-13被移除,請(qǐng)用個(gè)人訪問令牌代替。
進(jìn)入github -- settings --? Developer settings --?Personal access tokens --? 填寫 note 灵莲、過期時(shí)間 等 點(diǎn)擊生成token
然后保存生成的token
項(xiàng)目地址:https://github.com/xxx/xxx.git
設(shè)置源地址加上token(項(xiàng)目地址前加上token@) :
?git remote set-url origin https://<token>@github.com/xxx/xxx.git
然后git push? 就成功啦