Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git: Failed to erase credential: Element not found tried all other solutions

Using git extensionas & the git bash, I have cloned my github repo.

Now when I got to do the first push it asks for meuname and password then gives the error

Failed to erase credential: Element not found
Authentication failed

I have seen this issue in other questions and forums - so far nothing has worked; I have:

  • reverted Git from 1.8.3 to 1.8.2
  • deleted and re-created my credentials in windows credential manager
  • ran push from bash add entered credentials in bash instead of password gate
  • uninstalled git extensions & git, deleted local repo and re-installed and cloned from scratch

Im using https but I also have tried using ssh - This worked of course, but I would prefer to use HTTPS, are there any other possible solutions to this issue out there?

Thanks

like image 251
Toby Avatar asked Nov 02 '22 15:11

Toby


1 Answers

I got the same message. I was ask by the winstore to type login, user and password.

The password I copied direct from the Firefox Password Manger.

And than I got the fail message.

But than I tried it again and type the password by hand, and it worked.

So I suggest you double check the login data you use. May be there is the problem.

like image 171
TLindig Avatar answered Nov 15 '22 03:11

TLindig