This flag causes "git-diff-tree --stdin" to also show
the commit message before the differences.
- This is used to control "pretty printing" format of the
- commit message. Without "=<style>", it defaults to
git-diff-tree outputs a line with the commit ID when
- Controls the way the commit log is formatted.
Limits the number of commits to show.
more specialized family of commit log tools: gitlink:git-log,
gitlink:git-show, and gitlink:git-whatchanged
- Pretty print the contents of the commit logs in a given format,
- where '<format>' can be one of 'raw', 'medium', 'short', 'full',
- and 'oneline'. When left out the format default to 'medium'.
ID of the commit to show.
- Controls the output format for the commit logs.
- <format> can be one of 'raw', 'medium', 'short', 'full',
+ Pretty-prints the details of a commit. `--pretty`
+ without an explicit `=<format>` defaults to 'medium'.
+ If the commit is a merge, and if the pretty-format
+ is not 'oneline', 'email' or 'raw', an additional line is
+ inserted before the 'Author:' line. This line begins with
+ "Merge: " and the sha1s of ancestral commits are printed,
+ separated by spaces. Note that the listed commits may not
+ necessarily be the list of the *direct* parent commits if you
+ have limited your view of history: for example, if you are
+ only interested in changes related to a certain directory or
+ file. Here are some additional details for each format:
+This is designed to be as compact as possible.
+ AuthorDate: <date & time>
+ CommitDate: <date & time>
+ Subject: [PATCH] <title line>
+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.