Which command in Git allows you to view the commit history?
- git branch
- git diff
- git log
- git status
The git log command in Git allows you to view the commit history of a repository. It displays a list of all commits, including their unique identifiers, authors, timestamps, and commit messages.
Loading...
Related Quiz
- How can you find a commit in the Git history that introduced a bug using the git bisect command?
- A clean Git history is often maintained by using _______ to combine commits before merging.
- In Git, git _______ shows the status of changes as untracked, modified, or staged.
- What advanced Git techniques can be used to manage database schema versions efficiently?
- When collaborating on a project, you typically push your changes to the _______ branch of the remote repository.