65960192e8d32dc45e000d0c343350d0cf5e578f
1 --pretty[='<format>']::
2 --format[='<format>']::
4 Pretty-print the contents of the commit logs in a given format,
5 where '<format>' can be one of 'oneline', 'short', 'medium',
6 'full', 'fuller', 'email', 'raw' and 'format:<string>'.
7 When omitted, the format defaults to 'medium'.
8 +
9 Note: you can specify the default pretty format in the repository
10 configuration (see linkgit:git-config[1]).
12 --abbrev-commit::
13 Instead of showing the full 40-byte hexadecimal commit object
14 name, show only a partial prefix. Non default number of
15 digits can be specified with "--abbrev=<n>" (which also modifies
16 diff output, if it is displayed).
17 +
18 This should make "--pretty=oneline" a whole lot more readable for
19 people using 80-column terminals.
21 --encoding[=<encoding>]::
22 The commit objects record the encoding used for the log message
23 in their encoding header; this option can be used to tell the
24 command to re-code the commit log message in the encoding
25 preferred by the user. For non plumbing commands this
26 defaults to UTF-8.