Which Git command is used to view changes made by each commit?
- git log
- git show
- git diff
- git status
The git log command is used to view the commit history of a repository. It displays information about each commit, including the commit message, author, date, and a unique identifier. This helps in understanding the changes made in each commit in chronological order.
Loading...
Related Quiz
- How does Git ensure data integrity in large repositories?
- How does the 'pre-receive' Git Hook differ from the 'post-receive' Hook?
- What is the first step you should take when encountering a merge conflict in Git?
- In what scenario is rebasing preferred over merging in Git?
- Which command in Git allows you to view the commit history?