Practice this fail.
A little less committed.
Git · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
This repository already has commits. src/config.js is tracked, and you accidentally staged its latest edits. Keep those edits on disk.
A little less committed.
$ git status --short
M src/config.js
Right changes. Wrong commit.