我正在嘗試使用遠程命令在 Github 上上傳一個專案,我得到了這個:
致命的:Une erreur s'est produite lors de l'envoi de la demande。致命的:La demande a été shieldnée :不可能的 de créer un canal sécurisé SSL/TLS。'https://github.com' 的用戶名:meriam-hamdaoui 'https://[email protected]' 的密碼:remote:2021 年 8 月 13 日移除了對密碼驗證的支持。請使用個人訪問權限代幣。遠程:請參閱https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/了解更多資訊。致命:“https://github.com/meriam-hamdaoui/testing-again.git/”的身份驗證失敗
我在谷歌上查看,所以我更新了我的系統我激活了 TLS1.2 然后我執行了這兩行:
$unset SSH_ASKPASS
$ git push -u origin main
我在網頁上得到了“身份驗證成功”,但仍然得到了這個:
致命的:Une erreur s'est produite lors de l'envoi de la demande。致命的:La demande a été shieldnée :不可能的 de créer un canal sécurisé SSL/TLS。'https://github.com' 的用戶名:meriam-hamdaoui 'https://[email protected]' 的密碼:remote:2021 年 8 月 13 日移除了對密碼驗證的支持。請使用個人訪問權限代幣。遠程:請參閱https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/了解更多資訊。致命:“https://github.com/meriam-hamdaoui/testing-again.git/”的身份驗證失敗
誰能向我解釋一下如何解決這個問題??
uj5u.com熱心網友回復:
這應該與您對 GitHub 帳戶密碼的使用相關聯,而不是與 TLS 相關聯。
嘗試使用PAT(個人訪問令牌)代替密碼進行相同的推送。它應該作業。
如果 Git 從未提示您輸入憑據,請檢查您的 git configi 憑據助手,并從憑據快取中洗掉舊憑據。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/389531.html
上一篇:更新github的個人令牌
下一篇:在遠程壓縮后提取舊的提交ID
