0
What does a Git Commit object contain?

Open 1 Answers 102 Views General
What does a Git Commit object contain?

1 Answer

0

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

by (278k points)
...