The _______ command is used to view the commit history in Git.
- git branch
- git diff
- git log
- git status
The git log command is used to view the commit history in Git. It displays a chronological list of commits, showing details such as commit messages, author, date, and commit SHA.
Loading...
Related Quiz
- You're tasked with deploying a new version of an application without downtime. Explain how you would accomplish this using Kubernetes' rolling updates feature.
- How does the Prototype design pattern differ from the Builder design pattern?
- What is the difference between "git merge" and "git rebase"?
- _______ is an architectural style for designing networked applications.
- Describe the difference between composition and inheritance in OOP.