What does commit object contain?
Answer / Rajeev Gautam
A Git commit object contains metadata about a specific snapshot of a project, such as author, committer, date, message, and the actual snapshot itself (a tree object that points to all files in the snapshot). Additionally, each commit also points to its parent commit(s), creating a chain of commits or commit history.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is ‘git add’ is used for?
In git, how would you return a commit that has just been pushed and made open?
Name a few git commands and explain their usage.
How do you find a list of files that have changed in a particular commit?
What is git and why do we use it?
What is the difference between git pull and git fetch?
What is the difference between GIT and SVN?
What does ‘hooks’ comprise of in git?
What is “Staging Area” or “Index” in GIT?
What is git Is-tree?
To delete a branch what is the command that is used?
What are the advantages of using GIT?