Commit Diff


commit - e70c17ce99f9373024b98e0558d43c6320c9e10b
commit + 540feb5160dec0fb8d1516bd3aa5ffda38e069d2
blob - d21485fce244f85600575c5db375bd3c1c862b1b
blob + be99b41b349f4eecaecfccb6ba1bbc9721f68c49
--- got/got.1
+++ got/got.1
@@ -403,10 +403,21 @@ This new commit will become the head commit of the wor
 .Pp
 .Dl $ got commit
 .Pp
+In a work tree or a git repository directory, view changes committed in
+the 3 most recent commits to the repository:
+.Pp
+.Dl $ got log -p -l 3
+.Pp
 In a work tree or a git repository directory, list all branch references:
 .Pp
 .Dl $ got ref -l | grep ^refs/heads
 .Pp
+In a work tree or a git repository directory, view changes committed in
+the 3 most recent commits to the work tree's branch, or the branch resolved
+via the repository's HEAD reference, respectively:
+.Pp
+.Dl $ got log -p -l 3 -f
+.Pp
 In a work tree or a git repository directory, create a new branch
 .Dq unified-buffer-cache
 which is forked off the