X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-log.txt;h=9cac0886cf3b03fd5c4454b1a0ea1920dd0edaf8;hb=6ddc0964034342519a87fe013781abf31c6db6ad;hp=13a3998302a2817bb36d7555f171311ce19a3d0c;hpb=4ae22d96fe9248dac4f26b1fc91154ba5e879799;p=git.git diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt index 13a39983..9cac0886 100644 --- a/Documentation/git-log.txt +++ b/Documentation/git-log.txt @@ -30,6 +30,24 @@ OPTIONS Show only commits between the named two commits. +Examples +-------- +git log --no-merges:: + + Show the whole commit history, but skip any merges + +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:: + + Show the changes during the last two weeks to the file 'gitk'. + The "--" is necessary to avoid confusion with the *branch* named + 'gitk' + + Author ------ Written by Linus Torvalds