- 1 year ago
Clear git-credential-manager-core cached login
Comment
1 / 1
To clear the cached login credentials in Git Credential Manager Core, you can use the following command:
bashgit credential-manager-core erase
Running this command will remove the stored credentials from the cache. The next time you perform a Git operation that requires authentication, you will be prompted to enter your credentials again.
Alternatively, you can use the --force
option to clear the cache without any prompts:
bashgit credential-manager-core erase --force
After executing the command, the cached login credentials will be cleared, and you will need to provide your credentials again when accessing remote repositories.