git log --oneline

View git commit history summarized

This command displays a user-friendly list of commit history in a compact, one-line format.

The condensed log output includes the commit hash and the commit message.

The --oneline flag truncates the usual multi-line commit log output to a simple one-liner. Instead of showing the full commit hash, it just shows the first few characters.

This can be combined with other flags such as -5 to show just the last 5 commits or --graph to show an ASCII graph of the commit history.