Blob


1 .\"
2 .\" Copyright (c) 2017 Martin Pieuchot
3 .\"
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.
7 .\"
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.
15 .\"
16 .Dd $Mdocdate$
17 .Dt GOT 1
18 .Os
19 .Sh NAME
20 .Nm got
21 .Nd distributed version control system
22 .Sh SYNOPSIS
23 .Nm
24 .Ar command
25 .Op Fl h
26 .Op Ar arg ...
27 .Sh DESCRIPTION
28 .Nm
29 is a distributed version control system which prioritizes ease of use
30 and simplicity over flexibility.
31 .Pp
32 .Nm
33 stores the history of files tracked in version control in a repository
34 which happens to use the same on-disk format as the so-called
35 .Dq bare
36 repositories created by the popular Git version control system.
37 This repository format is described in
38 .Xr got-repository 5 .
39 .Pp
40 Files managed by
41 .Nm
42 can be checked out from the repository for modification.
43 Checked out files are stored in a
44 .Em work tree
45 which is placed at an arbitrary directory in the filesystem hierarchy.
46 The format of a
47 .Nm
48 work tree is described in
49 .Xr got-worktree 5 .
50 .Pp
51 .Nm
52 provides global and command-specific options.
53 Global options must preceed the command name, and are as follows:
54 .Bl -tag -width tenletters
55 .It Fl h
56 Display usage information.
57 .El
58 .Pp
59 The commands are as follows:
60 .Bl -tag -width checkout
61 .It Cm checkout
62 Copy files from a repository into a new work tree.
63 .\".It Cm status
64 .\"Show current status of files.
65 .It Cm log
66 Display history of the repository.
67 .El
68 .Sh EXIT STATUS
69 .Ex -std got
70 .Sh SEE ALSO
71 .Xr got-repository 5
72 .Xr got-worktree 5