为什么现在我从Github收到不断的密码提示? [英] Why do I get constant password prompts from Github now?

查看:75
本文介绍了为什么现在我从Github收到不断的密码提示?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,一直在努力工作.从昨天开始,这就是我所看到的.

For years, working away with no problems. Starting yesterday, here's what I'm seeing.

$ git pull
- password prompt, enter credentials.
Already up to date.

$ git pull
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/scottcwilson/TSG.git/'

为什么情况会发生变化?创建个人访问令牌是否可以解决此问题?

Why did things change? Will creating a personal access token solve this?

推荐答案

仅当您具有如果没有,请检查您的git config credential.helper,并查看缓存的凭据中是否有github.com条目.

If not, check your git config credential.helper, and see if you have a github.com entry in your cached credentials.

这篇关于为什么现在我从Github收到不断的密码提示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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