Reputation: 61
I tried to clone my git repo with git extensions but entered the wrong credentials. Now I didn´t get any prompt anymore to change my login data. I´m just getting this error:
Clone failed
remote error: Invalid username or password.
How could I force git to show me the login prompt again? I think I have to clear the cache. How do I do it?
Upvotes: 0
Views: 147
Reputation: 5616
On Windows, To force GIT to re-prompt for username and password (that is you want to change one, the other, or both) you have to:
The next time you try "git clone ..." you will be prompted for logging in with both username and password.
Note that GitLab gives you username and an email but you must use your email as your username in order to clone a repository. (It took a few times through the Windows Credential Manager to figure that out.)
Upvotes: 1
Reputation: 61
I have solved it myself. You have to delete the entry in Windows Credential Manager
Upvotes: 0