Home Explore Blog CI



git

1st chunk of `Documentation/config/pretty.adoc`
2fda43ab1e2efc32ec0d8780c2b12535b8cd87793fb29ce700000001000001c3
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.

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.