What is a git commit and what does the commit object contain?
Answer / Ravi Ratnakar Choudhary
A Git commit represents a snapshot of your project at a specific point in time. It includes the changes made to the files, a commit message describing those changes, metadata like author information, date, and parent commit hashes. The commit object also contains a unique identifier (hash), which allows for easy tracking and reference of each commit.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a distributed vcs?
What is the difference between the ‘git diff ’and ‘git status’?
Mention the various git repository hosting functions.
What is rebasing syntax in git?
How git instaweb is used?
Name a few git commands?
What is the difference between rebasing and merge in git?
What is git fork? How to create tag?
Why is it desirable to create an additional commit rather than amending an existing commit?
What is a commit message?
What is git bisect?
Why git and not svn?