In Bash you can prefix a space to you command to stop command from being added to history
git commit -am "message"cp existing.file new.file
How to do the same on Windows. A solution for either command or PowerShell would be appreciated.
I keep on smashing up+enter in my terminal to build/run, keep shooting myself in the foot.