Blob


1 .\"
2 .\" Copyright (c) 2017 Martin Pieuchot
3 .\" Copyright (c) 2018, 2019 Stefan Sperling
4 .\"
5 .\" Permission to use, copy, modify, and distribute this software for any
6 .\" purpose with or without fee is hereby granted, provided that the above
7 .\" copyright notice and this permission notice appear in all copies.
8 .\"
9 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 .\"
17 .Dd $Mdocdate$
18 .Dt GOT 1
19 .Os
20 .Sh NAME
21 .Nm got
22 .Nd game of trees
23 .Sh SYNOPSIS
24 .Nm
25 .Ar command
26 .Op Fl h
27 .Op Ar arg ...
28 .Sh DESCRIPTION
29 .Nm
30 is a version control system which stores the history of tracked files
31 in a Git repository, as used by the Git version control system.
32 This repository format is described in
33 .Xr git-repository 5 .
34 .Pp
35 .Nm
36 is a
37 .Dq distributed
38 version control system because every copy of a repository is writeable.
39 Modifications made to files can be synchronized between repositories
40 at any time.
41 .Pp
42 Files managed by
43 .Nm
44 must be checked out from the repository for modification.
45 Checked out files are stored in a
46 .Em work tree
47 which can be placed at an arbitrary directory in the filesystem hierarchy.
48 The on-disk format of this 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 for
60 .Nm
61 are as follows:
62 .Bl -tag -width checkout
63 .It Cm init Ar path
64 Create a new empty repository at the specified
65 .Ar path .
66 .It Cm checkout [ Fl b Ar branch ] [ Fl c Ar commit ] [ Fl p Ar path-prefix ] repository-path [ work-tree-path ]
67 Copy files from a repository into a new work tree.
68 If the
69 .Ar work tree path
70 is not specified, either use the last component of
71 .Ar repository path ,
72 or if a
73 .Ar path prefix
74 was specified use the last component of
75 .Ar path prefix .
76 .Pp
77 The options for
78 .Cm got checkout
79 are as follows:
80 .Bl -tag -width Ds
81 .It Fl b Ar branch
82 Check out files from the specified
83 .Ar branch .
84 If this option is not specified, a branch resolved via the repository's HEAD
85 reference will be used.
86 .It Fl c Ar commit
87 Check out files from the specified
88 .Ar commit .
89 The expected argument is a commit ID SHA1 hash.
90 An abbreviated hash argument will be expanded to a full SHA1 hash
91 automatically, provided the abbreviation is unique.
92 If this option is not specified, the most recent commit on the selected
93 branch will be used.
94 .It Fl p Ar path-prefix
95 Restrict the work tree to a subset of the repository's tree hierarchy.
96 Only files beneath the specified
97 .Ar path-prefix
98 will be checked out.
99 .El
100 .It Cm co
101 Short alias for
102 .Cm checkout .
103 .It Cm update [ Fl b Ar branch ] [ Fl c Ar commit ] [ Ar path ]
104 Update an existing work tree to a different commit.
105 Show the status of each affected file, using the following status codes:
106 .Bl -column YXZ description
107 .It U Ta file was updated and contained no local changes
108 .It G Ta file was updated and local changes were merged cleanly
109 .It C Ta file was updated and conflicts occurred during merge
110 .It D Ta file was deleted
111 .It A Ta new file was added
112 .It ~ Ta versioned file is obstructed by a non-regular file
113 .It ! Ta a missing versioned file was restored
114 .El
115 .Pp
116 If a
117 .Ar path
118 is specified, restrict the update operation to files at or within this path.
119 The path is required to exist in the update operation's target commit.
120 Files in the work tree outside this path will remain unchanged and will
121 retain their previously recorded base commit.
122 Some
123 .Nm
124 commands may refuse to run while the work tree contains files from
125 multiple base commits.
126 The base commit of such a work tree can be made consistent by running
127 .Cm got update
128 across the entire work tree.
129 Specifying a
130 .Ar path
131 is incompatible with the
132 .Fl b
133 option.
134 .Pp
135 The options for
136 .Cm got update
137 are as follows:
138 .Bl -tag -width Ds
139 .It Fl b Ar branch
140 Switch the work tree's branch reference to the specified
141 .Ar branch
142 before updating the work tree.
143 This option requires that all paths in the work tree are updated.
144 .It Fl c Ar commit
145 Update the work tree to the specified
146 .Ar commit .
147 The expected argument is a commit ID SHA1 hash.
148 An abbreviated hash argument will be expanded to a full SHA1 hash
149 automatically, provided the abbreviation is unique.
150 If this option is not specified, the most recent commit on the work tree's
151 branch will be used.
152 .El
153 .It Cm up
154 Short alias for
155 .Cm update .
156 .It Cm status [ Ar path ]
157 Show the current modification status of files in a work tree,
158 using the following status codes:
159 .Bl -column YXZ description
160 .It M Ta modified file
161 .It A Ta file scheduled for addition in next commit
162 .It D Ta file scheduled for deletion in next commit
163 .It C Ta modified or added file which contains merge conflicts
164 .It ! Ta versioned file was expected on disk but is missing
165 .It ~ Ta versioned file is obstructed by a non-regular file
166 .It ? Ta unversioned item not tracked by
167 .Nm
168 .El
169 .Pp
170 If a
171 .Ar path
172 is specified, only show modifications within this path.
173 .It Cm st
174 Short alias for
175 .Cm status .
176 .It Cm log [ Fl b ] [ Fl c Ar commit ] [ Fl C Ar number ] [ Fl l Ar N ] [ Fl p ] [ Fl r Ar repository-path ] [ path ]
177 Display history of a repository.
178 If a
179 .Ar path
180 is specified, show only commits which modified this path.
181 .Pp
182 The options for
183 .Cm got log
184 are as follows:
185 .Bl -tag -width Ds
186 .It Fl b
187 Show the linear line of history of the current branch.
188 This option restricts history traversal to the first parent of each commit.
189 Commits which the branch was based on and merge commits which affected the
190 branch will be shown, but individual commits created on parallel branches
191 will be omitted.
192 .It Fl c Ar commit
193 Start traversing history at the specified
194 .Ar commit .
195 The expected argument is the name of a branch or a commit ID SHA1 hash.
196 An abbreviated hash argument will be expanded to a full SHA1 hash
197 automatically, provided the abbreviation is unique.
198 If this option is not specified, default to the work tree's current branch
199 if invoked in a work tree, or to the repository's HEAD reference.
200 .It Fl C Ar number
201 Set the number of context lines shown in diffs with
202 .Fl p .
203 By default, 3 lines of context are shown.
204 .It Fl l Ar N
205 Limit history traversal to a given number of commits.
206 .It Fl p
207 Display the patch of modifications made in each commit.
208 .It Fl r Ar repository-path
209 Use the repository at the specified path.
210 If not specified, assume the repository is located at or above the current
211 working directory.
212 If this directory is a
213 .Nm
214 work tree, use the repository path associated with this work tree.
215 .El
216 .It Cm diff [ Fl C Ar number ] [ Fl r Ar repository-path ] [ Ar object1 Ar object2 | Ar path ]
217 When invoked within a work tree with less than two arguments, display
218 uncommitted changes in the work tree.
219 If a
220 .Ar path
221 is specified, only show changes within this path.
222 .Pp
223 If two arguments are provided, treat each argument as a reference,
224 or an object ID SHA1 hash, and display differences between these objects.
225 Both objects must be of the same type (blobs, trees, or commits).
226 An abbreviated hash argument will be expanded to a full SHA1 hash
227 automatically, provided the abbreviation is unique.
228 .Pp
229 The options for
230 .Cm got diff
231 are as follows:
232 .Bl -tag -width Ds
233 .It Fl C Ar number
234 Set the number of context lines shown in the diff.
235 By default, 3 lines of context are shown.
236 .It Fl r Ar repository-path
237 Use the repository at the specified path.
238 If not specified, assume the repository is located at or above the current
239 working directory.
240 If this directory is a
241 .Nm
242 work tree, use the repository path associated with this work tree.
243 .El
244 .It Cm blame [ Fl c Ar commit ] [ Fl r Ar repository-path ] Ar path
245 Display line-by-line history of a file at the specified path.
246 .Pp
247 The options for
248 .Cm got blame
249 are as follows:
250 .Bl -tag -width Ds
251 .It Fl c Ar commit
252 Start traversing history at the specified
253 .Ar commit .
254 The expected argument is the name of a branch or a commit ID SHA1 hash.
255 An abbreviated hash argument will be expanded to a full SHA1 hash
256 automatically, provided the abbreviation is unique.
257 .It Fl r Ar repository-path
258 Use the repository at the specified path.
259 If not specified, assume the repository is located at or above the current
260 working directory.
261 If this directory is a
262 .Nm
263 work tree, use the repository path associated with this work tree.
264 .El
265 .It Cm tree [ Fl c Ar commit ] [ Fl r Ar repository-path ] [ Fl i ] [ Fl R] [ Ar path ]
266 Display a listing of files and directories at the specified
267 directory path in the repository.
268 Entries shown in this listing may carry one of the following trailing
269 annotations:
270 .Bl -column YXZ description
271 .It / Ta entry is a directory
272 .It * Ta entry is an executable file
273 .El
274 .Pp
275 If no
276 .Ar path
277 is specified, list the repository path corresponding to the current
278 directory of the work tree, or the root directory of the repository
279 if there is no work tree.
280 .Pp
281 The options for
282 .Cm got tree
283 are as follows:
284 .Bl -tag -width Ds
285 .It Fl c Ar commit
286 List files and directories as they appear in the specified
287 .Ar commit .
288 The expected argument is the name of a branch or a commit ID SHA1 hash.
289 An abbreviated hash argument will be expanded to a full SHA1 hash
290 automatically, provided the abbreviation is unique.
291 .It Fl r Ar repository-path
292 Use the repository at the specified path.
293 If not specified, assume the repository is located at or above the current
294 working directory.
295 If this directory is a
296 .Nm
297 work tree, use the repository path associated with this work tree.
298 .It Fl i
299 Show object IDs of files (blob objects) and directories (tree objects).
300 .It Fl R
301 Recurse into sub-directories in the repository.
302 .El
303 .It Cm ref [ Fl r Ar repository-path ] [ Fl l ] [ Fl d Ar name ] [ Ar name Ar target ]
304 Manage references in a repository.
305 .Pp
306 If no options are passed, expect two arguments and attempt to create,
307 or update, the reference with the given
308 .Ar name ,
309 and make it point at the given
310 .Ar target .
311 The target may be an object ID SHA1 hash or an existing reference which
312 will be resolved to an object ID.
313 An abbreviated hash argument will be expanded to a full SHA1 hash
314 automatically, provided the abbreviation is unique.
315 .Pp
316 The options for
317 .Cm got ref
318 are as follows:
319 .Bl -tag -width Ds
320 .It Fl r Ar repository-path
321 Use the repository at the specified path.
322 If not specified, assume the repository is located at or above the current
323 working directory.
324 If this directory is a
325 .Nm
326 work tree, use the repository path associated with this work tree.
327 .It Fl l
328 List all existing references in the repository.
329 .It Fl d Ar name
330 Delete the reference with the specified name from the repository.
331 .El
332 .It Cm branch [ Fl r Ar repository-path ] [ Fl l ] [ Fl d Ar name ] [ Ar name [ Ar base-branch ] ]
333 Manage branches in a repository.
334 .Pp
335 Branches are managed via references which live in the
336 .Dq refs/heads/
337 reference namespace.
338 The
339 .Cm got branch
340 command operates on references in this namespace only.
341 .Pp
342 If no options are passed, expect one or two arguments and attempt to create
343 a branch with the given
344 .Ar name ,
345 and make it point at the given
346 .Ar base-branch .
347 If no
348 .Ar base-branch
349 is specified, default to the work tree's current branch if invoked in a
350 work tree, or to the repository's HEAD reference.
351 .Pp
352 The options for
353 .Cm got branch
354 are as follows:
355 .Bl -tag -width Ds
356 .It Fl r Ar repository-path
357 Use the repository at the specified path.
358 If not specified, assume the repository is located at or above the current
359 working directory.
360 If this directory is a
361 .Nm
362 work tree, use the repository path associated with this work tree.
363 .It Fl l
364 List all existing branches in the repository.
365 .Pp
366 If invoked in a work tree, the work tree's current branch is shown
367 with one the following annotations:
368 .Bl -column YXZ description
369 .It * Ta work tree's base commit matches the branch tip
370 .It ~ Ta work tree's base commit is out-of-date
371 .El
372 .It Fl d Ar name
373 Delete the branch with the specified name from the repository.
374 .El
375 .It Cm br
376 Short alias for
377 .Cm branch .
378 .It Cm add Ar file-path ...
379 Schedule unversioned files in a work tree for addition to the
380 repository in the next commit.
381 .It Cm remove Ar file-path ...
382 Remove versioned files from a work tree and schedule them for deletion
383 from the repository in the next commit.
384 .Pp
385 The options for
386 .Cm got remove
387 are as follows:
388 .Bl -tag -width Ds
389 .It Fl f
390 Perform the operation even if a file contains uncommitted modifications.
391 .El
392 .It Cm rm
393 Short alias for
394 .Cm remove .
395 .It Cm revert Ar file-path ...
396 Revert any uncommited changes in files at the specified paths.
397 File contents will be overwritten with those contained in the
398 work tree's base commit. There is no way to bring discarded
399 changes back after
400 .Cm got revert !
401 .Pp
402 If a file was added with
403 .Cm got add
404 it will become an unversioned file again.
405 If a file was deleted with
406 .Cm got remove
407 it will be restored.
408 .It Cm rv
409 Short alias for
410 .Cm revert .
411 .It Cm commit [ Fl m Ar message ] [ file-path ]
412 Create a new commit in the repository from local changes in a work tree
413 and use this commit as the new base commit for the work tree.
414 .Pp
415 Show the status of each affected file, using the following status codes:
416 .Bl -column YXZ description
417 .It M Ta modified file
418 .It D Ta file was deleted
419 .It A Ta new file was added
420 .El
421 .Pp
422 Files without local changes will retain their previously recorded base
423 commit.
424 Some
425 .Nm
426 commands may refuse to run while the work tree contains files from
427 multiple base commits.
428 The base commit of such a work tree can be made consistent by running
429 .Cm got update
430 across the entire work tree.
431 .Pp
432 The
433 .Cm got commit
434 command requires the
435 .Ev GOT_AUTHOR
436 environment variable to be set.
437 .Pp
438 The options for
439 .Cm got commit
440 are as follows:
441 .Bl -tag -width Ds
442 .It Fl m Ar message
443 Use the specified log message when creating the new commit.
444 Without the
445 .Fl m
446 option,
447 .Cm got commit
448 opens a temporary file in an editor where a log message can be written.
449 .El
450 .It Cm ci
451 Short alias for
452 .Cm commit .
453 .It Cm cherrypick Ar commit
454 Merge changes from a single
455 .Ar commit
456 into the work tree.
457 The specified
458 .Ar commit
459 must be on a different branch than the work tree's base commit.
460 The expected argument is a reference or a commit ID SHA1 hash.
461 An abbreviated hash argument will be expanded to a full SHA1 hash
462 automatically, provided the abbreviation is unique.
463 .Pp
464 Show the status of each affected file, using the following status codes:
465 .Bl -column YXZ description
466 .It G Ta file was merged
467 .It C Ta file was merged and conflicts occurred during merge
468 .It ! Ta changes destined for a missing file were not merged
469 .It D Ta file was deleted
470 .It d Ta file's deletion was obstructed by local modifications
471 .It A Ta new file was added
472 .It ~ Ta changes destined for a non-regular file were not merged
473 .El
474 .Pp
475 The merged changes will appear as local changes in the work tree, which
476 may be viewed with
477 .Cm got diff ,
478 amended manually or with further
479 .Cm got cherrypick
480 comands,
481 committed with
482 .Cm got commit ,
483 or discarded again with
484 .Cm got revert .
485 .Pp
486 .Cm got cherrypick
487 will refuse to run if certain preconditions are not met.
488 If the work tree contains multiple base commits it must first be updated
489 to a single base commit with
490 .Cm got update .
491 If the work tree already contains files with merge conflicts, these
492 conflicts must be resolved first.
493 .It Cm cy
494 Short alias for
495 .Cm cherrypick .
496 .It Cm backout Ar commit
497 Reverse-merge changes from a single
498 .Ar commit
499 into the work tree.
500 The specified
501 .Ar commit
502 must be on the same branch as the work tree's base commit.
503 The expected argument is a reference or a commit ID SHA1 hash.
504 An abbreviated hash argument will be expanded to a full SHA1 hash
505 automatically, provided the abbreviation is unique.
506 .Pp
507 Show the status of each affected file, using the following status codes:
508 .Bl -column YXZ description
509 .It G Ta file was merged
510 .It C Ta file was merged and conflicts occurred during merge
511 .It ! Ta changes destined for a missing file were not merged
512 .It D Ta file was deleted
513 .It d Ta file's deletion was obstructed by local modifications
514 .It A Ta new file was added
515 .It ~ Ta changes destined for a non-regular file were not merged
516 .El
517 .Pp
518 The reverse-merged changes will appear as local changes in the work tree,
519 which may be viewed with
520 .Cm got diff ,
521 amended manually or with further
522 .Cm got cherrypick
523 comands,
524 committed with
525 .Cm got commit ,
526 or discarded again with
527 .Cm got revert .
528 .Pp
529 .Cm got backout
530 will refuse to run if certain preconditions are not met.
531 If the work tree contains multiple base commits it must first be updated
532 to a single base commit with
533 .Cm got update .
534 If the work tree already contains files with merge conflicts, these
535 conflicts must be resolved first.
536 .It Cm bo
537 Short alias for
538 .Cm backout .
539 .It Cm rebase Ar branch
540 Rebase commits on the specified
541 .Ar branch
542 onto the tip of the current branch of the work tree.
543 The
544 .Ar branch
545 must share common ancestry with the work tree's current branch.
546 Rebasing begins with the first descendent commit of the youngest
547 common ancestor commit shared by the specified
548 .Ar branch
549 and the work tree's current branch, and stops once the tip commit
550 of the specified
551 .Ar branch
552 has been rebased.
553 .Pp
554 Rebased commits are accumulated on a temporary branch and represent
555 the same changes with the same log messages as their counterparts
556 on the original
557 .Ar branch ,
558 but with different commit IDs.
559 Once rebasing has completed successfully, the temporary branch becomes
560 the new version of the specified
561 .Ar branch
562 and the work tree is automatically switched to it.
563 .Pp
564 While rebasing commits, show the status of each affected file,
565 using the following status codes:
566 .Bl -column YXZ description
567 .It G Ta file was merged
568 .It C Ta file was merged and conflicts occurred during merge
569 .It ! Ta changes destined for a missing file were not merged
570 .It D Ta file was deleted
571 .It d Ta file's deletion was obstructed by local modifications
572 .It A Ta new file was added
573 .It ~ Ta changes destined for a non-regular file were not merged
574 .El
575 .Pp
576 If merge conflicts occur the rebase operation is interrupted and may
577 be continued once conflicts have been resolved.
578 Alternatively, the rebase operation may be aborted which will leave
579 .Ar branch
580 unmodified and the work tree switched back to its original branch.
581 .Pp
582 If a merge conflict is resolved in a way which renders the merged
583 change into a no-op change, the corresponding commit will be elided
584 when the rebase operation continues.
585 .Pp
586 .Cm got rebase
587 will refuse to run if certain preconditions are not met.
588 If the work tree contains multiple base commits it must first be updated
589 to a single base commit with
590 .Cm got update .
591 If the work tree contains local changes, these changes must first be
592 committed with
593 .Cm got commit
594 or reverted with
595 .Cm got revert .
596 If the
597 .Ar branch
598 contains changes to files outside of the work tree's path prefix,
599 the work tree cannot be used to rebase this branch.
600 .Pp
601 The
602 .Cm got update
603 and
604 .Cm got commit
605 commands will refuse to run while a rebase operation is in progress.
606 Other commands which manipulate the work tree may be used for
607 conflict resolution purposes.
608 .Pp
609 The options for
610 .Cm got rebase
611 are as follows:
612 .Bl -tag -width Ds
613 .It Fl a
614 Abort an interrupted rebase operation.
615 .It Fl c
616 Continue an interrupted rebase operation.
617 .El
618 .It Cm rb
619 Short alias for
620 .Cm rebase .
621 .El
622 .Sh ENVIRONMENT
623 .Bl -tag -width GOT_AUTHOR
624 .It Ev GOT_AUTHOR
625 The author's name and email address for
626 .Cm got commit ,
627 for example:
628 .An Stefan Sperling Aq Mt stsp@openbsd.org
629 .It Ev VISUAL, Ev EDITOR
630 The editor spawned by
631 .Cm got commit .
632 .El
633 .Sh EXIT STATUS
634 .Ex -std got
635 .Sh EXAMPLES
636 .Pp
637 Clone an existing Git repository for use with
638 .Nm .
639 This step currently requires
640 .Xr git 1 :
641 .Pp
642 .Dl $ cd /var/git/
643 .Dl $ git clone --bare https://github.com/openbsd/src.git
644 .Pp
645 Check out a work tree from this Git repository to /usr/src:
646 .Pp
647 .Dl $ got checkout /var/git/src.git /usr/src
648 .Pp
649 View local changes in a work tree directory:
650 .Pp
651 .Dl $ got status
652 .Dl $ got diff | less
653 .Pp
654 In a work tree or a git repository directory, list all branch references:
655 .Pp
656 .Dl $ got branch -l
657 .Pp
658 In a work tree or a git repository directory, create a new branch called
659 .Dq unified-buffer-cache
660 which is forked off the
661 .Dq master
662 branch:
663 .Pp
664 .Dl $ got branch unified-buffer-cache master
665 .Pp
666 Switch an existing work tree to the branch
667 .Dq unified-buffer-cache .
668 Local changes in the work tree will be preserved and merged if necessary:
669 .Pp
670 .Dl $ got update -b unified-buffer-cache
671 .Pp
672 Create a new commit from local changes in a work tree directory.
673 This new commit will become the head commit of the work tree's current branch:
674 .Pp
675 .Dl $ got commit
676 .Pp
677 In a work tree or a git repository directory, view changes committed in
678 the 3 most recent commits to the work tree's branch, or the branch resolved
679 via the repository's HEAD reference, respectively:
680 .Pp
681 .Dl $ got log -p -l 3 -b
682 .Pp
683 Add new files and remove obsolete files in a work tree directory:
684 .Pp
685 .Dl $ got add sys/uvm/uvm_ubc.c
686 .Dl $ got remove sys/uvm/uvm_vnode.c
687 .Pp
688 Create a new commit from local changes in a work tree directory
689 with a pre-defined log message.
690 .Pp
691 .Dl $ got commit -m 'unify the buffer cache'
692 .Pp
693 Update any work tree checked out from the
694 .Dq unified-buffer-cache
695 branch to the latest commit on this branch:
696 .Pp
697 .Dl $ got update
698 .Pp
699 Fetch new upstream commits into the local repository's master branch.
700 This step currently requires
701 .Xr git 1 :
702 .Pp
703 .Dl $ cd /var/git/src.git
704 .Dl $ git fetch origin master:master
705 .Pp
706 Rebase the
707 .Dq unified-buffer-cache
708 branch on top of the new head commit of the
709 .Dq master
710 branch.
711 .Pp
712 .Dl $ got update -b master
713 .Dl $ got rebase unified-buffer-cache
714 .Sh SEE ALSO
715 .Xr git-repository 5
716 .Xr got-worktree 5
717 .Sh AUTHORS
718 .An Stefan Sperling Aq Mt stsp@openbsd.org
719 .An Martin Pieuchot Aq Mt mpi@openbsd.org
720 .An joshua stein Aq Mt jcs@openbsd.org
721 .Sh CAVEATS
722 .Nm
723 is a work-in-progress and many commands remain to be implemented.
724 At present, the user has to fall back on
725 .Xr git 1
726 to perform many basic tasks.
727 .Pp
728 When working against a repository created with
729 .Dq git clone --bare ,
730 local commits to the
731 .Dq master
732 branch are discouraged, for now, if changes committed to the upstream
733 repository need to be tracked.
734 See the EXAMPLES section.