Is there a way to correct wrongly typed password / abort the operation while on password prompt in the console in MINGW32?

Posted by jakub.g on Super User See other posts from Super User or by jakub.g
Published on 2012-11-22T15:01:05Z Indexed on 2012/11/29 17:08 UTC
Read the original article Hit count: 255

Filed under:
|
|
|
|

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.

Edit:

Unfortunately CtrlU doesn't work for me (MINGW32 @ Windows XP). Any other guesses?

© Super User or respective owner

Related posts about command-line

Related posts about terminal