【问题标题】:IntelliJ Github IssueIntelliJ Github 问题
【发布时间】:2017-11-15 00:10:53
【问题描述】:

尝试将项目推送到 github,但出现以下错误

remote: Permission to RedNetty/RedPractice.git denied to JackCDev.
fatal: unable to access 'https://github.com/RedNetty/RedPractice.git/': The requested URL returned error: 403

问题并不像我进入设置>版本控制> Github那么简单

我已经更改了,但它仍然试图通过错误的帐户推送。

【问题讨论】:

    标签: github intellij-idea


    【解决方案1】:

    检查你是否有一个 git **credential helper**active:

    git config credential.helper
    

    例如,在 Windows 上,这将是 Windows Credential Managers
    打开 Windows Credential Store,查看第一个用户是否在那里注册:删除该条目,您将能够与第二个用户进行身份验证。

    (这里是 BitBucket 的一个例子)

    【讨论】:

    • 你修好了!非常感谢。
    猜你喜欢
    • 2016-05-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多