X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Documentation%2Fpretty-formats.txt;h=8c68ce94f990b0c7f3bc909cc3dc0c4e2a37cf3b;hb=5bfd53629e93113a17fe7d6a7a24554dc3c17cdb;hp=c85a52c0cc27a187abbdea17cd25cec51b808064;hpb=e3ed7f721c7bd4ecb5c98a29761ff2b2e6d38336;p=git.git diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt index c85a52c0c..8c68ce94f 100644 --- a/Documentation/pretty-formats.txt +++ b/Documentation/pretty-formats.txt @@ -11,7 +11,12 @@ have limited your view of history: for example, if you are only interested in changes related to a certain directory or file. -Here are some additional details for each format: +There are several built-in formats, and you can define +additional formats by setting a pretty. +config option to either another format name, or a +'format:' string, as described below (see +linkgit:git-config[1]). Here are the details of the +built-in formats: * 'oneline' @@ -123,6 +128,7 @@ The placeholders are: - '%s': subject - '%f': sanitized subject line, suitable for a filename - '%b': body +- '%B': raw body (unwrapped subject and body) - '%N': commit notes - '%gD': reflog selector, e.g., `refs/stash@\{1\}` - '%gd': shortened reflog selector, e.g., `stash@\{1\}`