GitHistory

git log

Shows commit history for the current branch.

Syntax

git log [--oneline] [--graph]

Examples

Compact, graph-annotated history

git log --oneline --graph --all

Related commands