VCS Commit

A commit is a snapshot of source code at a specific point in time. It is a fundamental feature of a version control system.

It records changes made to the files in the project, such as adding, modifying, and deleting code. Each commit has a unique identifier, a SHA-1 or SHA-256 hash, a message describing the changes, and metadata such as the author name, email, and timestamp.

Several commits are grouped into a pull request or PR, for code review. Commit message conventions such as Conventional Commits help automate changelogs and semantic versioning.

Documentation

See also git-commit reference, Conventional Commits specification and Git internals: commits and objects.

Related : git, VCS, Pull Request (PR), Code Review, Branch, Merge, Diff, Rollback, Worktree, SVN, hg, Commit, Timing Attack