更改 NetBeans 使用的 Git 远程密码 [英] Change Git remote password used by NetBeans

查看:70
本文介绍了更改 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.

这篇关于更改 NetBeans 使用的 Git 远程密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆