CLI Git Not working After Enabling 2FA

If git isn’t working on the terminal after enabling 2FA, this might help:

And this:
https://help.github.com/en/articles/updating-credentials-from-the-osx-keychain

If you did the ssh setup, you can set your repo to use ssh instead of HTTPS:
git remote set-url origin [url] (you can get url from the github Clone or download button -> ssh)

1 Like