更改 NetBeans 使用的 Git 远程密码
我正在使用 Netbeans IDE 8.2 和我将更改推送到的 GitHub 存储库.当我第一次设置 GitHub 凭据时,我在输入密码时犯了一个错误,并选中了记住"字段.
I am working with Netbeans IDE 8.2 and a GitHub repository I push changes to. When i first set up the GitHub credentials i made a mistake while typing the password and left checked the "Remember" field.
现在,每次我尝试推送到原点时,我都会收到一个 http 错误,指出凭据错误 - 我确定它们是错误的,但我无法更改它们.我尝试搜索选项菜单、项目设置和团队"菜单,但我可能遗漏了一些东西.
Now every time i try to push to origin, i receive an http error which says that the credentials are wrong - and I am sure they are, but I can't change them. I tried searching the options menus, the project settings and the "Team" menu, but I'm probably missing something.
如何在 NetBeans 中更改 GitHub 的默认密码?
How do I change the default password for GitHub in NetBeans?
右键单击您的项目并转到 Git -> Remote -> Push...选择指定 Git 存储库位置",更新您的密码,单击下一步".它可能会再次给你错误.关闭弹出窗口并再次尝试推送.你现在应该可以推送了.
Right click your project and go to Git -> Remote -> Push... Select 'Specify Git Repository Location', update your password, click Next. It may give you error again. Close the popup and try pushing again. You should be able to push now.