What does a commit object contain?g

Open 1 Answers 38 Views Technology

What does a commit object contain?

1 Answer

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
by (249k points)