The command git _______ is used to view the commit history graphically, showing branches and merges.
- log
- history
- show
- graph
The command git log is used to view the commit history, but for a graphical representation showing branches and merges, the git log --graph command is used. This option helps visualize the branching and merging structure of the repository.
Loading...
Related Quiz
- The ________ command in Git is commonly used to propose changes in a collaborative project.
- In a distributed team, a developer needs to integrate a hotfix into multiple branches efficiently. What Git approach or feature should they use?
- A Git Subtree allows you to keep a copy of an external repository in a subdirectory, treating it as a __________ project.
- Which Git Hook is triggered before a commit is finalized?
- In a collaborative project, a developer wants to ensure the authenticity and integrity of a release. What Git feature can they use to achieve this?