Scott C Wilson
Scott C Wilson

Reputation: 20016

Why do I get constant password prompts from Github now?

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?

Upvotes: 2

Views: 86

Answers (1)

VonC
VonC

Reputation: 1324258

A PAT (Personal Access Token) would be needed only if you have activated 2FA.

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

Upvotes: 1

Related Questions