Skip to content

Glossary: Command Line and Git

commit

Also written: commits, git commit

A saved snapshot of the files in a repository, with a message, the author, the date and a unique hash. `git commit -m "message"` creates one from what is staged.

Where the book teaches it

Related terms

staging areahashcommit messagerepository