github 報錯 權限問題fatal: Authentication failed

錯誤信息
Username for ‘https://github.com‘: ×××××
Password for ‘https://××××@github.com’:
remote: Invalid username or password.
fatal: Authentication failed for

網上查的都說美有添加ssh key
但是我是git clone 的https方式

最終只是從新定義了一下那個配置,如下:
gitconfigglobaluser.namename git config –global user.email [email protected]

繼續執行git 命令 用戶名 密碼 ok 報錯解決

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章