What does a commit object contain?
Answer / Satish Kumar Deepak
A Git commit object is a data structure that stores information about a specific version of your codebase. It includes the author's name and email, committer's name and email, a unique identifier (hash), timestamps for creation and last modification, a message describing the changes made, the list of files changed or added, and the differences between the current state and the previous one.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is “Staging Area” or “Index” in GIT?
Explain the uses of git commands?
What is git cherry-pick?
How will you know in GIT if a branch has been already merged into master?
What is the function of ‘git config’?
Explain git stash, pop?
What commands will you use to bring a new feature to the main branch?
What is Subgit? Why to use Subgit?
What does ‘hooks’ consist of in git?
What is git bisect? How can you use it to determine the source of a (regression) bug?
What are the benefits of using version control system?
What does ‘hooks’ comprise of in git?