What is the primary use of the git log command?
- Display commit logs
- Create a new branch
- Delete a remote repository
- Stage changes for commit
The git log command is used to display the commit history of a repository. It shows information such as commit messages, authorship, and timestamps. This is useful for tracking changes and understanding the development timeline of a project.
Loading...
Related Quiz
- The .git/_______ directory contains all of the necessary repository metadata for Git.
- In a large project, how does the use of Git influence the team's ability to adapt to changes rapidly?
- What is a Git hook?
- In Git, what does the 'master' branch represent by default?
- What does the git log command display in a Git repository?