Git commit

برنامه‌نویسی 1 views

Persian equivalent کامیت گیت

In plain language A commit records a snapshot at a point in Git history.

Short definition A commit object points to a file tree and parent commits and contains metadata such as an author and message.

Detailed explanation and example

After staging two files, committing records their staged versions in the snapshot. Unstaged edits stay outside that commit.

Reference