Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to undo a paste on the Windows comandline?

I like to undo my paste on the Windows command line (e.g. PowerShell)

For example:

  1. Type git checkout
  2. Paste the clipboard which has the text test - we have now git checkout test (I use right click paste)
  3. Desired: Undo the paste, so we have again git checkout

Unfortunately pressing esc removes the whole line! (so we have instead of git checkout)

like image 319
Julian Avatar asked Oct 19 '25 03:10

Julian


1 Answers

In Powershell you can simply use CTRL + Z but on regular cmd shell it will not work...

like image 151
Avshalom Avatar answered Oct 20 '25 22:10

Avshalom



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!