EclipseEgit和GitHub身份验证弃用

我正在使用 Eclipse (Egit) 和 GitHub,我收到此通知:

Hi,

You recently used a password to access the repository with git using JGit/5.10.0.202012080955-r.

Basic authentication using a password to Git is deprecated and will soon no longer work. Visit https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information around suggested workarounds and removal dates.

目前我正在使用带有用户和密码的 HTTPS 连接,可能我必须切换到 HTTPS 令牌,但是如何为 HTTPS 令牌配置 Eclipse/Egit?

回答

Github 不赞成使用您的个人帐户密码进行身份验证。您将需要在 Eclipse 中更改您的 git 凭据以使用个人访问令牌而不是使用您的 Github 帐户密码。

用于创建个人访问令牌的链接。

用于在 Eclipse 中更改凭据的链接。


以上是EclipseEgit和GitHub身份验证弃用的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>