我正在尝试使用远程命令上传一个项目在Github上,我得到了以下信息:
致命的:那是最有价值的产品。致命: La demande aétéabandonnée:不可能在运河上使用SSL/TLS。“https://github.com':meriam”的用户名https://meriam-hamdaoui@github.com':https://meriam-hamdaoui@github.com':remote:对密码身份验证的支持在2021年8月13日被删除。请使用个人访问令牌代替。远程:有关更多信息,请参见https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/。致命:“https://github.com/meriam-hamdaoui/testing-again.git/”的身份验证失败
我查看了Google,所以我更新了我的系统,激活了TLS1.2,然后我执行了这两行命令:
$unset SSH_ASKPASS
$ git push -u origin main我在网页上获得了“身份验证成功”,但仍然得到了以下信息:
致命的:那是最有价值的产品。致命: La demande aétéabandonnée:不可能在运河上使用SSL/TLS。“https://github.com':meriam”的用户名https://meriam-hamdaoui@github.com':https://meriam-hamdaoui@github.com':remote:对密码身份验证的支持在2021年8月13日被删除。请使用个人访问令牌代替。远程:有关更多信息,请参见https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/。致命:“https://github.com/meriam-hamdaoui/testing-again.git/”的身份验证失败
有人能给我解释一下怎么解决这个问题吗??
发布于 2021-12-20 18:29:33
这应该链接到您使用的GitHub帐户密码,而不是TLS。
尝试使用PAT (个人访问令牌)代替您的密码进行相同的推送。那就行了。
如果Git从未提示您的凭据,请检查您的git configi凭据助手和从凭据缓存中删除旧凭据。。
https://stackoverflow.com/questions/70426189
复制相似问题