Environment: Ubuntu Server 20.04
Symptom: When you do git push
or git pull
from bash, it seems that the login information is stored somewhere and you are not prompted for password authentication.I want to delete my credentials and ask for a password every time, but I don't know what to do.
Tried:
Run git config --global --unset credential.helper
→ No effectgit credential-cache exit
→No effect~/.git-credentials
→ File does not exist in the first place
I don't know how the default helper is set in the Ubuntu environment, but according to the Manual, you can reset the setting by setting credential.helper
to a string from . What do you think?
(Example of disabling locally only)
$git config --local credential.helper'"
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
618 Uncaught (inpromise) Error on Electron: An object could not be cloned
581 PHP ssh2_scp_send fails to send files as intended
915 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.