X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=tour.mdwn;h=56690e10341500c4d1569cbd14f41db1ac4f0843;hb=773b47a3a6c98a1503db455d2892975cb055ee62;hp=6a43df9cd847aae7a5b17afbc531b3160089e372;hpb=3bad93ae6e35200f77549443103ddcc0fd2fb6d5;p=hgbook-git diff --git a/tour.mdwn b/tour.mdwn index 6a43df9..56690e1 100644 --- a/tour.mdwn +++ b/tour.mdwn @@ -396,8 +396,8 @@ created: $ git log --since="2 weeks ago" --until="yesterday" -Another useful option is --max-count which, unsurprisingly, limits the -maximum number of commits to be displayed. +Another useful option is -n or --max-count which, unsurprisingly, +limits the maximum number of commits to be displayed. #### 2.4.3 More detailed information @@ -439,7 +439,7 @@ looks suspicous, so let's tak a closer look. Remember that we can name it as master~3, HEAD~3, or any prefix of its commit identifier, (such as 13ed136b): - $ git log -p --max-count=1 13ed136b + $ git log -p -n 1 13ed136b commit 13ed136b983a9c439eddeea8a1c2076cffbb685f Author: Bryan O'Sullivan Date: Tue Sep 6 13:15:43 2005 -0700