Commit 67d6b2d2de7d42b4820c5c3ad04a99e9c4fcd83f

Stefan Sperling 2018-03-13T03:25:33

document checkout -p option

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/got/got.1 b/got/got.1
index 8ae2d1a..25b7c67 100644
--- a/got/got.1
+++ b/got/got.1
@@ -67,6 +67,12 @@ The commands are as follows:
 .Bl -tag -width checkout
 .It Cm checkout
 Copy files from a repository into a new work tree.
+The work tree may be restricted to a subset of the repository's tree
+hierarchy by specifying the
+.Fl p Ar prefix
+option.
+In this case, only files beneath the specified directory prefix will
+be checked out.
 .\".It Cm status
 .\"Show current status of files.
 .It Cm log