Skip to content
Back to library
beginnerBranches & HEAD

Log & History

The Definition

Git log displays the commit history, showing commits in reverse chronological order.

Mental Model

"The log is like a diary of your project. Each entry records what happened, when, and who did it."

Visual Simulation

Live Engine
maindev

Watch Out (Common Pitfalls)

!

Not using helpful options like --oneline or --graph

!

Getting overwhelmed by long output without filtering

!

Not understanding the graph visualization

Hands-on Command

shell
~ $git log git log --oneline --graph --all (visualized history)