X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=tour.mdwn;h=53f8f2ca8cc7e7fcec82c06c5a05a9eb1508c00c;hb=6c295b78cc0207247daba5594f62b6ead3dd94e8;hp=c72bffe0a030a68ea92daf4b706fe8f9503d98b7;hpb=ebde7f61f24c82c958387da2db72093555507717;p=hgbook-git diff --git a/tour.mdwn b/tour.mdwn index c72bffe..53f8f2c 100644 --- a/tour.mdwn +++ b/tour.mdwn @@ -397,6 +397,10 @@ created: $ git log --since="2 weeks ago" --until="yesterday" + [XXX: By default, "git log" displays author dates as "Date" + but then uses commit dates when given a --since option. That + seems like broken defaults to me. Why the inconsistency?] + Another useful option is -n or --max-count which, unsurprisingly, limits the maximum number of commits to be displayed.