Solve Invalid username or password error.

--

Note:- Problem faced if you are using git through HTTPS.

Guys some time we clone or push or any activity on the GitHub account through the command prompt but every time it gives the same issue as the image.

After spending a single day I found a solution, and I am very happy to share it with you.

If you have enabled two-factor authentication then you can face the same problem as me. So if you are using git through HTTPS via command prompts then you should disable two-factor authentication. If you want to enable it, Then you should use git through the ssh key.

That’s it for this time! I hope you enjoyed this post. As always, I welcome questions, notes, comments and requests for posts on topics you’d like to read. See you next time! Happy Coding !!!!!

--

--

Ankit Kumar Rajpoot
Ankit Kumar Rajpoot

Written by Ankit Kumar Rajpoot

I’m a MERN Developer. ( Redux | AWS | Python ) I enjoy taking on new things, building skills, and sharing what I’ve learned.

No responses yet