fatal : Authentication failed (when i try to push code from my Mac OS -Monterey

Viewed 100
  1. I did not enable 2-factor authentication
  2. I am entering my password correctly
  3. I have tried both HTTPS & SSH protocols to push my code
  4. I removed the existing origin (which is something like https://github.com:user/repo.git) and re-add a git@github.com:user/repo.git URL to instruct Git to use SSH instead.
  5. I have tried using PAT
  6. I am using Mac OS-Monterey
  7. I could earlier push code from my Windows Machine [enter image description here]
  8. This is the error that I am getting ( i have tried using multiple repos)enter image description here
1 Answers

Actually there it says that you don't have to use your ordinary password, look if you have activated to generate gpg verifications. And you can see into his oficial docs of Github recomendation to do a commit without password How to generate github signature verification

Related