The command takes options applicable to the git-rev-list(1) command to control what is shown and how, and options applicable to the git-diff-tree(1) commands to control how the change each commit introduces are shown.
This manual page describes only the most frequently used options.
<sha1> <title line>
<sha1> <title line>This is designed to be as compact as possible.
commit <sha1> Author: <author> <title line><title line>
commit <sha1> Author: <author> Date: <date> <title line> <title line> <full commit message>
commit <sha1> Author: <author> Commit: <committer> <title line> <title line> <full commit message>
commit <sha1> Author: <author> AuthorDate: <date & time> Commit: <committer> CommitDate: <date & time> <title line> <title line> <full commit message>
From <sha1> <date> From: <author> Date: <date & time> Subject: [PATCH] <title line> Subject: [PATCH] <title line> full commit message>
The raw format shows the entire commit exactly as stored in the commit object. Notably, the SHA1s are displayed in full, regardless of whether --abbrev or --no-abbrev are used, and parents information show the true parent commits, without taking grafts nor history simplification into account.