in Technology by (1.9m points)

What does a commit object contain?

1 Answer

0 votes
by (1.9m points)
Commit object contains the following components, you should mention all the three points presented below:

A set of files, representing the state of a project at a given point of time
Reference to parent commit objects
An SHA-1 name, a 40 character string that uniquely identifies the commit object