I have used another username and password to work on a project and now I need to log in with different username for same project. I tried to pull codes for the worked projects but it is not working, since my older username has been removed. I try to change credentials but I don't see any option in PhpStorm.
I tried following command but not working:
git credential-osxkeychain erase host=github.com protocol=https
Any help? (I'm working on MAC)
I can't really answer for a MAC, but on Windows later version of Jetbrains' products store its credentials in a password vault.
In the case of PhpStorm 2019, it uses the KeePass database and the location of the DB can be found in Settings > Appearance & Behavior > System Settings > Passwords.
It's also possible that Git is configured differently can look at git config credential.helper to determine what your configuration currently is, being on a Mac it's probably configured with osxkeychain.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With