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

Log

Filter

By number

git log -<number>

By date

git log --since=yyyy-mm-dd
git log --until="3 days ago"
git log --after=2.weeks --before=3.days

By author

git log --author="Name"

By commit message pattern

git log --grep="pattern"

By commits range

git log <SHA>..<SHA>

By file name (only shows commits that changed that file)

git log <file_name>

Decoration

git log --name-only --oneline