0 votes
in General by (557k points)
What does a Git Commit object contain?

1 Answer

0 votes
by (557k 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

...