Git Log Purpose
Multiple Choice Easy
Question
What does git log show?
Hint
git log displays the commit history.
Explanation
git log shows the commit history in reverse chronological order. Each entry shows the commit hash, author, date, and message. Useful flags: --oneline (compact), --graph (branch visualization), -n 5 (last 5 commits), --author="name". git log is essential for understanding project history and finding when changes were introduced.
Related Resources
Related Lessons
- Git Log
Learn git log.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.