IntelliJ Github问题 [英] IntelliJ Github Issue
问题描述
尝试将项目推送到github时出现以下错误
Trying to push a project to github and I'm getting the following Error
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"
The issue isn't as simple as me going into Settings > Version Control > Github
我已经更改了它,但是它仍然尝试通过错误的帐户进行推送.
I've already changed that but its still trying to push via the wrong account.
推荐答案
检查您是否有git ** 凭据助手 **有效:
Check if you have a git **credential helper**active:
git config credential.helper
例如,在Windows上,这将是 Windows凭据管理器.
打开Windows凭据存储,然后查看第一个用户是否在此注册:删除该条目,然后您便可以向第二个用户进行身份验证.
For instance, on Windows, that would be the Windows Credential Managers.
Open the Windows Credential Store, and see if the first user is registered there: delete that entry, and you will be able to authenticate with the second user.
(这里是BitBucket的示例)
(Here is an example for BitBucket)
这篇关于IntelliJ Github问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!