Home Explore Blog CI



git

Documentation/config/pretty.adoc
5087a6c42564e002b3dd717a140c773b591c2d5213dc8d6500000003000001c3
pretty.<name>::
	Alias for a --pretty= format string, as specified in
	linkgit:git-log[1]. Any aliases defined here can be used just
	as the built-in pretty formats could. For example,
	running `git config pretty.changelog "format:* %H %s"`
	would cause the invocation `git log --pretty=changelog`
	to be equivalent to running `git log "--pretty=format:* %H %s"`.
	Note that an alias with the same name as a built-in format
	will be silently ignored.

Chunks
2fda43ab (1st chunk of `Documentation/config/pretty.adoc`)
Title: Defining Custom Pretty Formats
Summary
The 'pretty.<name>' configuration option allows users to define custom format strings for displaying Git log output, which can be used as aliases for built-in pretty formats, enabling personalized logging and formatting, with the ability to override default formats and create bespoke logging solutions.