Commit 540feb5160dec0fb8d1516bd3aa5ffda38e069d2

Stefan Sperling 2019-05-22T16:14:55

add examples for 'got log' in got.1

diff --git a/got/got.1 b/got/got.1
index d21485f..be99b41 100644
--- a/got/got.1
+++ b/got/got.1
@@ -403,10 +403,21 @@ This new commit will become the head commit of the work tree's current branch:
 .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