commit - fdb730fe0daaa68f7fb46f49dd64ed01529effc6
commit + c844a238861c088f2a6c8d5a6a2821f082cd77f7
blob - 6c2d08f4242ad98d6f9d4ce5c88fb3a806671493
blob + 9aadbc5d3225a201b9bf679c0a66cec01c80d0c6
--- got/got.1
+++ got/got.1
Copy files from a repository into a new work tree.
If the
.Ar work tree path
-is not specified, either use the base name of the
+is not specified, either use the last component of
.Ar repository path ,
or if a
.Ar path prefix
-was specified use the base name of the
+was specified use the last component of
.Ar path prefix .
.Pp
The options for
.It Fl c Ar commit
Check out files from the specified
.Ar commit .
-By default, the HEAD commit is used.
+If this option is not specified, a commit resolved via the repository's HEAD
+reference will be used.
.It Fl p Ar path-prefix
Restrict the work tree to a subset of the repository's tree hierarchy.
Only files beneath the specified