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

1 Answer

0 votes
by (1.7m 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.


commit object