I want to undo the command npm create vite@latest
. I want to revert my changes without them showing up in git log or them being saved.
In Visual Studio Code's Source Control tab there are two buttons on top of unstaged changes, which appear when you hover over them:
On hover one says:
And the other reads:
What is the difference between them?
How can I replicate their behavior with the Git CLI?