in General by (1.8m points)
What does a Git Commit object contain?

1 Answer

0 votes
by (1.8m points)

The commit object contains the top-level tree object hash, parent commits hash(if any), author and committer information, commit date and commit message.

You can view this through the git log command.

Example:

commit object

Related questions

0 votes
asked Jan 31 in Education by JackTerrance (1.8m points)
...