summaryrefslogtreecommitdiff
path: root/Documentation/git-log.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-10-31 18:08:22 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-31 18:08:22 -0800
commitd92ddb525d47f11ecb6b11e795a668240d9a1af5 (patch)
tree9387072f21f19973a605134509a085093cc8fadf /Documentation/git-log.txt
parentGIT 0.99.9a (diff)
parentAdd examples for git-log documentation and others. (diff)
downloadtgif-d92ddb525d47f11ecb6b11e795a668240d9a1af5.tar.xz
Merge branch 'fixes'
Diffstat (limited to 'Documentation/git-log.txt')
-rw-r--r--Documentation/git-log.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 13a3998302..9cac0886cf 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 <torvalds@osdl.org>