I have attempted to remove Git's access to private GitHub repositories on GitHub. No matter what I try, I cannot stop it from gaining access. I therefore wish to know how it is authenticating, so I can remove access.
I have tried both methods here
First:
git config --global --unset user.name
git config --global --unset user.email
git config --global --unset credential.helper
and second
git config --global --unset-all
And I've also deleted every github entry in Keychain Access.
When I open a new terminal window, and push to a private GitHub repository, it asks for by username and email (not password), yet the push succeeds.
Question
How can I find out how Git in terminal able to use my GitHub credentials to push a change to GitHub?
Notes
- I'm connecting to GitHub via HTTPS (rather than SSH)