blob: af6d2b995a050007ae088dec8e2c3474e9f06ad5 [file] [log] [blame]
Junio C Hamano0430e3a2007-05-15 03:13:171--pretty[='<format>']::
Junio C Hamano0a235222009-03-06 08:21:092--format[='<format>']::
Junio C Hamano0430e3a2007-05-15 03:13:173
Junio C Hamanoa3770f92007-07-25 08:53:334Pretty-print the contents of the commit logs in a given format,
Junio C Hamano0430e3a2007-05-15 03:13:175where '<format>' can be one of 'oneline', 'short', 'medium',
6'full', 'fuller', 'email', 'raw' and 'format:<string>'.
Junio C Hamanoa3770f92007-07-25 08:53:337When omitted, the format defaults to 'medium'.
Junio C Hamano86bcccc2008-03-08 09:33:558+
9Note: you can specify the default pretty format in the repository
10configuration (see linkgit:git-config[1]).
Junio C Hamano0430e3a2007-05-15 03:13:1711
Junio C Hamanoee695f22007-06-21 00:35:3612--abbrev-commit::
13Instead of showing the full 40-byte hexadecimal commit object
Junio C Hamano6efe3022009-01-13 16:47:5614name, show only a partial prefix. Non default number of
Junio C Hamanoee695f22007-06-21 00:35:3615digits can be specified with "--abbrev=<n>" (which also modifies
16diff output, if it is displayed).
17+
18This should make "--pretty=oneline" a whole lot more readable for
19people using 80-column terminals.
20
Junio C Hamano0a235222009-03-06 08:21:0921--oneline::
22This is a shorthand for "--pretty=oneline --abbrev-commit"
23used together.
24
Junio C Hamano0430e3a2007-05-15 03:13:1725--encoding[=<encoding>]::
26The commit objects record the encoding used for the log message
27in their encoding header; this option can be used to tell the
28command to re-code the commit log message in the encoding
29preferred by the user. For non plumbing commands this
30defaults to UTF-8.
Junio C Hamano57827fb2010-01-23 03:02:5031
32--no-notes::
Junio C Hamano31667362010-03-25 00:38:5333--show-notes[=<ref>]::
Junio C Hamano57827fb2010-01-23 03:02:5034Show the notes (see linkgit:git-notes[1]) that annotate the
35commit, when showing the commit log message. This is the default
36for `git log`, `git show` and `git whatchanged` commands when
37there is no `--pretty`, `--format` nor `--oneline` option is
38given on the command line.
Junio C Hamano31667362010-03-25 00:38:5339+
40With an optional argument, add this ref to the list of notes. The ref
41is taken to be in `refs/notes/` if it is not qualified.
42
43--[no-]standard-notes::
44Enable or disable populating the notes ref list from the
45'core.notesRef' and 'notes.displayRef' variables (or
46corresponding environment overrides). Enabled by default.
47See linkgit:git-config[1].