blob: 6d66c74cc11e6622892061f8328d04dfe38f87bf [file] [log] [blame]
Junio C Hamano0430e3a2007-05-15 03:13:171--pretty[='<format>']::
2
Junio C Hamanoa3770f92007-07-25 08:53:333Pretty-print the contents of the commit logs in a given format,
Junio C Hamano0430e3a2007-05-15 03:13:174where '<format>' can be one of 'oneline', 'short', 'medium',
5'full', 'fuller', 'email', 'raw' and 'format:<string>'.
Junio C Hamanoa3770f92007-07-25 08:53:336When omitted, the format defaults to 'medium'.
Junio C Hamano86bcccc2008-03-08 09:33:557+
8Note: you can specify the default pretty format in the repository
9configuration (see linkgit:git-config[1]).
Junio C Hamano0430e3a2007-05-15 03:13:1710
Junio C Hamanoee695f22007-06-21 00:35:3611--abbrev-commit::
12Instead of showing the full 40-byte hexadecimal commit object
13name, show only handful hexdigits prefix. Non default number of
14digits can be specified with "--abbrev=<n>" (which also modifies
15diff output, if it is displayed).
16+
17This should make "--pretty=oneline" a whole lot more readable for
18people using 80-column terminals.
19
Junio C Hamano0430e3a2007-05-15 03:13:1720--encoding[=<encoding>]::
21The commit objects record the encoding used for the log message
22in their encoding header; this option can be used to tell the
23command to re-code the commit log message in the encoding
24preferred by the user. For non plumbing commands this
25defaults to UTF-8.