What does the git log command display in a Git repository?
- List of all branches.
- Commit history with detailed information.
- Uncommitted changes in the working directory.
- Status of files in the staging area.
The git log command displays the commit history of the repository. It includes information such as the commit hash, author, date, and commit message. This helps in tracking changes, understanding the project's development timeline, and identifying specific commits for reference or debugging purposes.
Loading...
Related Quiz
- How does Git facilitate the practice of Infrastructure as Code (IaC) in DevOps?
- A git _______ is used to combine multiple commits into a single commit for a cleaner history.
- Cloud platforms like GitHub provide _________ to facilitate tracking issues and tasks related to the codebase.
- A DevOps team is implementing a new feature across different environments (development, testing, production). What Git strategy should they adopt to ensure smooth transitions and tracking?
- What are the potential drawbacks of using a centralized workflow in a large, distributed team?