1

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:

enter image description here

On hover one says:

enter image description here

And the other reads:

enter image description here

What is the difference between them?

How can I replicate their behavior with the Git CLI?

mkrieger1
  • 19,194
  • 5
  • 54
  • 65
Felkru
  • 310
  • 2
  • 12

1 Answers1

6
mkrieger1
  • 19,194
  • 5
  • 54
  • 65