0 votes
in Git by
What is Git Commit, and what are the contents of the commit object?

1 Answer

0 votes
by

Candidates should focus on this question as one of the important basic interview questions. The Git commit is a command executed during a project for recording the progress of the project. The commit object contains a set of files representing the state of a file at different instances of time. The commit object also consists of a reference to the parent commit. Finally, you can also find an SHAI name, a unique identifier with a 40-character string for the commit object. 

...