In reading about git log
, I have discovered it is possible to choose from an array of built-in formats (e.g. --pretty=reference
) or create your own. Custom "PRETTY FORMATS" are quite capable, with many placeholders to choose from and the option to add colors too.
However, I have no need to create a format from scratch. I would rather tweak the presets that ship with git. Are the format strings for these presets available so I can pass them to
git log --pretty=format:<format-string>
and change them as desired?