Would you like to copy the permanent link to your clipboard?
Permanent link:
https://help.openstreetmap.org/questions/10622/josm-how-do-i-remove-commands-from-the-command-stack/10627