git log
HistoryShow commit logs
Options & Flags
Available options for this command
--onelineShow one commit per line
--graphShow ASCII graph of branches
-n NUMShow last NUM commits
Examples
Common usage examples
Show commit history
git logCompact commit history
git log --onelineVisual branch history
git log --graph --oneline --all