【问题标题】:Eclipse Egit and GitHub authentication deprecationEclipse Egit 和 GitHub 身份验证弃用
【发布时间】:2021-05-22 14:51:41
【问题描述】:

我正在使用 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?

【问题讨论】:

    标签: eclipse github https token egit


    【解决方案1】:

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

    Link 用于创建个人访问令牌。

    Link 用于在 Eclipse 中更改您的凭据。

    【讨论】:

    • 谢谢,我不清楚我必须使用该令牌作为密码并保留我的用户。
    猜你喜欢
    • 2021-08-02
    • 2011-07-15
    • 2016-02-23
    • 1970-01-01
    • 1970-01-01
    • 2020-10-27
    • 2021-03-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多