about summary refs log tree commit diff
path: root/Documentation/config/pretty.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/config/pretty.txt')
-rw-r--r--Documentation/config/pretty.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config/pretty.txt b/Documentation/config/pretty.txt
new file mode 100644
index 000000000000..063c6b63d929
--- /dev/null
+++ b/Documentation/config/pretty.txt
@@ -0,0 +1,9 @@
+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.