Overview
Display the full commit history with:
git log
The log includes commit identifiers, author information, dates, and commit messages.
Display a compact history with:
git log --oneline
This view shows shortened commit identifiers and messages, making it easier to scan the sequence of changes.
A commit identifier points to a specific saved state. The shortened identifier shown by --oneline can be used when it uniquely identifies the intended commit.