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
- For an open source project on GitHub, what is the standard method for contributing changes?
- When stashing changes, what happens to the staged and unstaged modifications in Git?
- After performing a rebase, you may need to use git ______ to incorporate the changes into the base branch.
- GitLab’s CI/CD pipelines can be configured through a file named _________.
- To save changes in Git, first stage them using git _______, then commit using git commit.