From 773b47a3a6c98a1503db455d2892975cb055ee62 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Thu, 27 Sep 2007 22:10:12 -0700 Subject: [PATCH] Mention -n as an alias for--max-count --- tour.mdwn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.43.0