What git commit -m does
Save a snapshot of your changes with a message.
gitcommit-mfirst commit
git— command — track changes to your project and share themcommit— argument: a file, a folder, or text-m— flag (a command option)first commit— argument: a file, a folder, or text
What it does when you run it
$ git commit -m "first commit"
[main 0a1b2c3] first commit
Run it yourself
The same files. Nothing here can break, and nothing leaves your browser.
Explain other commands
Written by Mikhail Kuzmitskii