Commit
Related terms: snapshot, revision, staging, commit message, repository
A recorded project revision with a message explaining the change. In Git, a commit identifies a snapshot and its parent commit or commits. It records selected changes, not every unsaved edit in an editor.
Keep related edits together so a revision is understandable and can be checked or reverted. A local commit is not shared until it is pushed. A clear message explains the purpose, such as “Fix jumping after respawn”.
- Further reading
- Pro Git: Recording Changes to the Repository