What is a git commit and what does the commit object contain?
Answer Posted / Ravi Ratnakar Choudhary
A Git commit represents a snapshot of your project at a specific point in time. It includes the changes made to the files, a commit message describing those changes, metadata like author information, date, and parent commit hashes. The commit object also contains a unique identifier (hash), which allows for easy tracking and reference of each commit.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers