Practice this fail.
My changes vanished. Allegedly.
Git · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
You edited src/app.js and successfully ran git add src/app.js. The working file now matches the staged version.
My changes vanished. Allegedly.
$ git add src/app.js
$ git diff
(no output)