2 .\" Copyright (c) 2017 Martin Pieuchot
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 .Nd distributed version control system
29 is a distributed version control system which prioritizes ease of use
30 and simplicity over flexibility.
33 stores the history of files tracked in version control in a repository
34 which happens to use the same on-disk format as so-called
36 repositories created by the popular Git version control system.
37 This repository format is described in
38 .Xr got-repository 5 .
43 version control system because every copy of a repository is writeable.
44 Modifications made to files can be synchronized between repositories
45 automatically at any time.
49 must be checked out from the repository for modification.
50 Checked out files are stored in a
52 which can be placed at an arbitrary directory in the filesystem hierarchy.
55 work tree is described in
59 provides global and command-specific options.
60 Global options must preceed the command name, and are as follows:
61 .Bl -tag -width tenletters
63 Display usage information.
66 The commands are as follows:
67 .Bl -tag -width checkout
69 Copy files from a repository into a new work tree.
70 The work tree may be restricted to a subset of the repository's tree
71 hierarchy by specifying the
74 In this case, only files beneath the specified directory prefix will
77 .\"Show current status of files.
79 Display history of the repository.