What is stored inside a commit object in GIT?

GIT commit object contains following information:

  • SHA1 name: A 40 character string to identify a commit
  • Files: List of files that represent the state of a project at a specific point of time
  • Reference: Any reference to parent commit objects

Leave a Reply

Your email address will not be published. Required fields are marked *