I sometimes mistype a password when being asked for it, e.g. by Git when pushing to remote repository. The password is not displayed (even masked as asterisks) in the console.
Is there a way either to correct the password, or to abort the operation? Backspace for editing and CtrlC for aborting do not seem to work.
I want to save some time instead of waiting for the remote authentication to fail, or providing a bad password, then Enter, CtrlC.
Unfortunately neither CtrlU nor @ do not work for me. Any other guesses?
I used MINGW32 bash under Windows XP, but as pointed by @silencedhaven, my terminal shouldn't matter, but rather the one I'm connecting to. So I'm trying to push to GitHub by HTTPS.