2

I've set a password for my private keys which I use on my project and when I did:

git pull

git prompted me for a password and I accidentally typed in the wrong password with +1 more unneeded character, and when I retried to git pull again, CLI said:

ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

How can I re-prompt git pull so I will ask me for the password again?

Zlatan Omerović
  • 3,863
  • 4
  • 39
  • 67

1 Answers1

2

Try the following command,

git credential-cache exit

And if you want to reduce the remember password time-out, use this,

git config --global credential.helper "cache --timeout=3600" //in milli seconds

Read this link for more details..

Community
  • 1
  • 1
Msp
  • 2,493
  • 2
  • 20
  • 34