Git凭证助手-更新密码 [英] Git credential helper - update password

查看:187
本文介绍了Git凭证助手-更新密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在通过HTTPS使用GitHub,并已在Windows 7上安装了最新版本的Git(1.9.0)以及Git凭据帮助程序.

I'm currently using GitHub over HTTPS and have the latest version of Git installed (1.9.0) along with the Git credential helper on Windows 7.

设置环境时,我告诉git-credentials永久记住我的用户名和密码.

On setting up my environment, I told git-credentials to permanently remember my username and password.

我最近通过网站更新了GitHub密码,现在不再能够进行推/拉/提取等操作.

I've recently updated my GitHub password via the website and I'm now no longer able to push/pull/fetch, etc.

在Windows 7上如何在git-credentials帮助程序上更新密码?

How I would go about updating my password on git-credentials helper on Windows 7?

推荐答案

在我更改密码后首次尝试Git提取时,被告知我的用户名/密码组合无效.这是正确的,因为git-credential助手已经缓存了我的旧值.

On my first attempt to Git fetch after my password change, I was told that my username/password combination was invalid. This was correct as git-credential helper had cached my old values.

但是,我在重新启动终端/命令提示符后尝试了另一次 git fetch ,这一次凭据帮助程序提示我输入GitHub用户名和密码.

However, I attempted another git fetch after restarting my terminal/command-prompt and this time the credential helper prompted me to enter in my GitHub username and password.

我怀疑最初失败的Git提取请求与重新启动终端/命令提示符相结合,为我解决了这个问题.

I suspect the initial failed Git fetch request in combination with restarting my terminal/command-prompt resolved this for me.

我希望这个答案将来能帮助其他处于类似位置的人!

I hope this answer helps anybody else in a similar position in the future!

这篇关于Git凭证助手-更新密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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