Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Git Log

Top down, the normal view.

git log --oneline

Bottom up, good for rebasing.

git log --oneline --reverse

Decorate with active branches.

git log --oneline --decorate --graph

Decorate with all branches, even rebased ones.

git log --oneline --decorate --graph --all

Before Rebasing

This can help find a commit in the event you need it again.

git log --reverse --oneline --date=short --format="%ad | %h | %an | %s" > commit-before-rebasing.txt

References

Git - git-log Documentation

Last Modified • Sunday, June 14, 2026. 5:09 am UTC+00:00 • Commit: 4a9f867