X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-log.txt;h=79643ac928b05b4a97a09a5adfb67b1b4a2b832c;hb=0f03ca946142bd656c1af9ff811cb9efbc8314da;hp=76cb894caab08de47f2ba3ceb17850f5b49acbda;hpb=a3cc31fb059410d6b96786045947bafc2f32ce60;p=git.git diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 76cb894ca..79643ac92 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -14,19 +14,18 @@ DESCRIPTION ----------- Shows the commit logs. -The command takes options applicable to the gitlink::git-rev-list[1] +The command takes options applicable to the gitlink:git-rev-list[1] command to control what is shown and how, and options applicable to -the gitlink::git-diff-tree[1] commands to control how the change +the gitlink:git-diff-tree[1] commands to control how the change each commit introduces are shown. -This manual page describes only the most frequently used -options. +This manual page describes only the most frequently used options. OPTIONS ------- ---pretty=:: - Controls the way the commit log is formatted. + +include::pretty-formats.txt[] --max-count=:: Limits the number of commits to show. @@ -52,7 +51,7 @@ git log v2.6.12.. include/scsi drivers/scsi:: Show all commits since version 'v2.6.12' that changed any file in the include/scsi or drivers/scsi subdirectories -git log --since="2 weeks ago" -- gitk:: +git log --since="2 weeks ago" \-- gitk:: Show the changes during the last two weeks to the file 'gitk'. The "--" is necessary to avoid confusion with the *branch* named