Blob


1 .\"
2 .\" Copyright (c) 2018 Stefan Sperling
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 TOG 1
18 .Os
19 .Sh NAME
20 .Nm tog
21 .Nd Git repository browser
22 .Sh SYNOPSIS
23 .Nm
24 .Op Ar command
25 .Op Fl h
26 .Op Ar arg ...
27 .Pp
28 .Nm
29 .Ar path
30 .Sh DESCRIPTION
31 .Nm
32 is an interactive read-only browser for Git repositories.
33 This repository format is described in
34 .Xr git-repository 5 .
35 .Pp
36 .Nm
37 supports several types of views which display repository data:
38 .Bl -tag -width Ds
39 .It Log view
40 Displays commits in the repository's history.
41 This view is displayed initially if no
42 .Ar command
43 is specified, or if just a
44 .Ar path
45 is specified.
46 .It Diff view
47 Displays changes made in a particular commit.
48 .It Blame view
49 Displays the line-by-line history of a file.
50 .It Tree view
51 Displays the tree corresponding to a particular commit.
52 .It Ref view
53 Displays references in the repository.
54 .El
55 .Pp
56 .Nm
57 provides global and command-specific key bindings and options.
58 Some command-specific key bindings may be prefixed with an integer, which is
59 denoted by N in the descriptions below, and is used as a modifier to the
60 operation as indicated.
61 .Nm
62 will echo digits to the screen when count modifiers are entered, and complete
63 the sequence upon input of the first non-numeric character.
64 Count modifiers can be aborted by entering an unmapped key.
65 Once a compound command is executed, the operation can be cancelled with
66 .Cm C-g
67 or
68 .Cm Backspace .
69 The global key bindings are:
70 .Bl -tag -width Ds
71 .It Cm Q
72 Quit
73 .Nm .
74 .It Cm q
75 Quit the view which is in focus.
76 .It Cm Tab
77 Switch focus between views.
78 .It Cm F
79 Toggle fullscreen mode for a split-screen view.
80 .Nm
81 will automatically use split-screen views if the size of the terminal
82 window is sufficiently large.
83 .It Cm S
84 Switch the current split-screen layout, and render all active views in
85 this new layout.
86 If the terminal is not wide enough when switching to a vertical split,
87 views will render in fullscreen.
88 .It Cm -
89 When in a split-screen view, decrease the size of the focussed split
90 N increments (default: 1).
91 .It Cm +
92 When in a split-screen view, increase the size of the focussed split
93 N increments (default: 1).
94 .El
95 .Pp
96 Global options must precede the command name, and are as follows:
97 .Bl -tag -width tenletters
98 .It Fl h
99 Display usage information.
100 .It Fl V , -version
101 Display program version and exit immediately.
102 .El
103 .Pp
104 The commands for
105 .Nm
106 are as follows:
107 .Bl -tag -width blame
108 .It Cm log Oo Fl b Oc Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
109 Display history of a repository.
110 If a
111 .Ar path
112 is specified, show only commits which modified this path.
113 If invoked in a work tree, the
114 .Ar path
115 is interpreted relative to the current working directory,
116 and the work tree's path prefix is implicitly prepended.
117 Otherwise, the path is interpreted relative to the repository root.
118 .Pp
119 This command is also executed if no explicit command is specified.
120 .Pp
121 The key bindings for
122 .Cm tog log
123 are as follows (N denotes optional prefixed count modifier):
124 .Bl -tag -width Ds
125 .It Cm Down-arrow, j, >, Full stop, Ctrl-n
126 Move the selection cursor down N lines (default: 1).
127 .It Cm Up-arrow, k, <, Comma, Ctrl-p
128 Move the selection cursor up N lines (default: 1).
129 .It Cm Right-arrow, l
130 Scroll log message field to the right N increments (default: 1).
131 .br
132 Log message moves left on the screen.
133 .It Cm Left-arrow, h
134 Scroll log message field to the left N increments (default: 1).
135 .br
136 Log message moves right on the screen.
137 .It Cm $
138 Scroll log message field to the rightmost position.
139 .It Cm 0
140 Scroll log message field to the leftmost position.
141 .It Cm Page-down, Space, Ctrl+f, f
142 Move the selection cursor down N pages (default: 1).
143 .It Cm Page-up, Ctrl+b, b
144 Move the selection cursor up N pages (default: 1).
145 .It Cm Ctrl+d, d
146 Move the selection cursor down N half pages (default: 1).
147 .It Cm Ctrl+u, u
148 Move the selection cursor up N half pages (default: 1).
149 .It Cm Home, g
150 Move the cursor to the newest commit.
151 .It Cm End, G
152 Move the cursor to the oldest commit.
153 This will traverse all commits on the current branch which may take
154 a long time depending on the number of commits in branch history.
155 If needed, this operation can be cancelled with
156 .Cm C-g
157 or
158 .Cm Backspace .
159 .It Cm Enter
160 Open a
161 .Cm diff
162 view showing file changes made in the currently selected commit.
163 .It Cm t
164 Open a
165 .Cm tree
166 view showing the tree for the currently selected commit.
167 .It Cm Backspace
168 Show log entries for the parent directory of the currently selected path.
169 However when an active search is in progress or when additional commits
170 are loaded,
171 .Cm Backspace
172 aborts the running operation.
173 .It Cm /
174 Prompt for a search pattern and start searching for matching commits.
175 The search pattern is an extended regular expression which is matched
176 against a commit's author name, committer name, log message, and
177 commit ID SHA1 hash.
178 Regular expression syntax is documented in
179 .Xr re_format 7 .
180 .It Cm n
181 Find the Nth next commit which matches the current search pattern (default: 1).
182 .br
183 Searching continues until either a match is found or
184 .Cm C-g
185 or the
186 .Cm Backspace
187 key is pressed.
188 .It Cm N
189 Find the Nth previous commit which matches the current search pattern
190 (default: 1).
191 .br
192 Searching continues until either a match is found or
193 .Cm C-g
194 or the
195 .Cm Backspace
196 key is pressed.
197 .It Cm Ctrl+l
198 Reload the
199 .Cm log
200 view with new commits found in the repository.
201 .It Cm B
202 Reload the
203 .Cm log
204 view and toggle display of merged commits.
205 The
206 .Fl b
207 option determines whether merged commits are displayed initially.
208 .It Cm r
209 Open a
210 .Cm ref
211 view listing all references in the repository.
212 This can then be used to open a new
213 .Cm log
214 view for arbitrary branches and tags.
215 .El
216 .Pp
217 The options for
218 .Cm tog log
219 are as follows:
220 .Bl -tag -width Ds
221 .It Fl b
222 Display individual commits which were merged into the current branch
223 from other branches.
224 By default,
225 .Cm tog log
226 shows the linear history of the current branch only.
227 The
228 .Cm B
229 key binding can be used to toggle display of merged commits at run-time.
230 .It Fl c Ar commit
231 Start traversing history at the specified
232 .Ar commit .
233 The expected argument is the name of a branch or a commit ID SHA1 hash.
234 An abbreviated hash argument will be expanded to a full SHA1 hash
235 automatically, provided the abbreviation is unique.
236 If this option is not specified, default to the work tree's current branch
237 if invoked in a work tree, or to the repository's HEAD reference.
238 .It Fl r Ar repository-path
239 Use the repository at the specified path.
240 If not specified, assume the repository is located at or above the current
241 working directory.
242 If this directory is a
243 .Xr got 1
244 work tree, use the repository path associated with this work tree.
245 .El
246 .It Cm diff Oo Fl a Oc Oo Fl C Ar number Oc Oo Fl r Ar repository-path Oc Oo Fl w Oc Ar object1 Ar object2
247 Display the differences between two objects in the repository.
248 Treat each of the two arguments as a reference, a tag name, or an object
249 ID SHA1 hash, and display differences between the corresponding objects.
250 Both objects must be of the same type (blobs, trees, or commits).
251 An abbreviated hash argument will be expanded to a full SHA1 hash
252 automatically, provided the abbreviation is unique.
253 .Pp
254 The key bindings for
255 .Cm tog diff
256 are as follows (N denotes optional prefixed count modifier):
257 .Bl -tag -width Ds
258 .It Cm a
259 Toggle treatment of file contents as ASCII text even if binary data was
260 detected.
261 .It Cm Down-arrow, j, Ctrl-n
262 Scroll down N lines (default: 1).
263 .It Cm Up-arrow, k, Ctrl-p
264 Scroll up N lines (default: 1).
265 .It Cm Right-arrow, l
266 Scroll view to the right N increments (default: 1).
267 .br
268 Diff output moves left on the screen.
269 .It Cm Left-arrow, h
270 Scroll view to the left N increments (default: 1).
271 .br
272 Diff output moves right on the screen.
273 .It Cm $
274 Scroll view to the rightmost position.
275 .It Cm 0
276 Scroll view left to the start of the line.
277 .It Cm Page-down, Space, Ctrl+f, f
278 Scroll down N pages (default: 1).
279 .It Cm Page-up, Ctrl+b, b
280 Scroll up N pages (default: 1).
281 .It Cm Ctrl+d, d
282 Scroll down N half pages (default: 1).
283 .It Cm Ctrl+u, u
284 Scroll up N half pages (default: 1).
285 .It Cm Home, g
286 Scroll to the top of the view.
287 .It Cm End, G
288 Scroll to the bottom of the view.
289 .It Cm \&[
290 Reduce diff context by N lines (default: 1).
291 .It Cm \&]
292 Increase diff context by N lines (default: 1).
293 .It Cm <, Comma
294 If the
295 .Cm diff
296 view was opened via the
297 .Cm log
298 view, move to the Nth previous (younger) commit.
299 If the diff was opened via the
300 .Cm blame
301 view, move to the Nth previous line and load the corresponding commit
302 (default: 1).
303 .It Cm >, Full stop
304 If the
305 .Cm diff
306 view was opened via the
307 .Cm log
308 view, move to the Nth next (older) commit.
309 If the diff was opened via the
310 .Cm blame
311 view, move to the Nth next line and load the corresponding commit (default: 1).
312 .It Cm /
313 Prompt for a search pattern and start searching for matching lines.
314 The search pattern is an extended regular expression.
315 Regular expression syntax is documented in
316 .Xr re_format 7 .
317 .It Cm n
318 Find the Nth next line which matches the current search pattern (default: 1).
319 .It Cm N
320 Find the Nth previous line which matches the current search pattern
321 (default: 1).
322 .It Cm w
323 Toggle display of whitespace-only changes.
324 .It Cm A
325 Change the diff algorithm.
326 Supported diff algorithms are Myers (quick and dirty) and
327 Patience (slow and tidy).
328 This is a global setting which also affects the
329 .Cm blame
330 view.
331 .El
332 .Pp
333 The options for
334 .Cm tog diff
335 are as follows:
336 .Bl -tag -width Ds
337 .It Fl a
338 Treat file contents as ASCII text even if binary data is detected.
339 .It Fl C Ar number
340 Set the number of context lines shown in the diff.
341 By default, 3 lines of context are shown.
342 .It Fl r Ar repository-path
343 Use the repository at the specified path.
344 If not specified, assume the repository is located at or above the current
345 working directory.
346 If this directory is a
347 .Xr got 1
348 work tree, use the repository path associated with this work tree.
349 .It Fl w
350 Ignore whitespace-only changes.
351 .El
352 .It Cm blame Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Ar path
353 Display line-by-line history of a file at the specified path.
354 .Pp
355 The key bindings for
356 .Cm tog blame
357 are as follows (N denotes optional prefixed count modifier):
358 .Bl -tag -width Ds
359 .It Cm Down-arrow, j, Ctrl-n
360 Move the selection cursor down N pages (default: 1).
361 .It Cm Up-arrow, k, Ctrl-p
362 Move the selection cursor up N pages (default: 1).
363 .It Cm Right-arrow, l
364 Scroll view to the right N increments (default: 1).
365 .br
366 File output moves left on the screen.
367 .It Cm Left-arrow, h
368 Scroll view to the left N increments (default: 1).
369 .br
370 File output moves right on the screen.
371 .It Cm $
372 Scroll view to the rightmost position.
373 .It Cm 0
374 Scroll view left to the start of the line.
375 .It Cm Page-down, Space, Ctrl+f, f
376 Move the selection cursor down N pages (default: 1).
377 .It Cm Page-up, Ctrl+b, b
378 Move the selection cursor up N pages (default: 1).
379 .It Cm Ctrl+d, d
380 Move the selection cursor down N half pages (default: 1).
381 .It Cm Ctrl+u, u
382 Move the selection cursor up N half pages (default: 1).
383 .It Cm Home, g
384 Move the selection cursor to the first line of the file.
385 .It Cm End, G
386 Move the selection cursor to the last line of the file.
387 .It Cm Enter
388 Open a
389 .Cm diff
390 view for the currently selected line's commit.
391 .It Cm c
392 Reload the
393 .Cm blame
394 view with the version of the file as found in the currently
395 selected line's commit.
396 .It Cm p
397 Reload the
398 .Cm blame
399 view with the version of the file as found in the parent commit of the
400 currently selected line's commit.
401 .It Cm C
402 Reload the
403 .Cm blame
404 view with the previously blamed commit.
405 .It Cm /
406 Prompt for a search pattern and start searching for matching lines.
407 The search pattern is an extended regular expression.
408 Regular expression syntax is documented in
409 .Xr re_format 7 .
410 .It Cm n
411 Find the Nth next line which matches the current search pattern (default: 1).
412 .It Cm N
413 Find the Nth previous line which matches the current search pattern
414 (default: 1).
415 .It Cm A
416 Change the diff algorithm.
417 Supported diff algorithms are Myers (quick and dirty) and
418 Patience (slow and tidy).
419 This is a global setting which also affects the
420 .Cm diff
421 view.
422 .El
423 .Pp
424 The options for
425 .Cm tog blame
426 are as follows:
427 .Bl -tag -width Ds
428 .It Fl c Ar commit
429 Start traversing history at the specified
430 .Ar commit .
431 The expected argument is the name of a branch or a commit ID SHA1 hash.
432 An abbreviated hash argument will be expanded to a full SHA1 hash
433 automatically, provided the abbreviation is unique.
434 .It Fl r Ar repository-path
435 Use the repository at the specified path.
436 If not specified, assume the repository is located at or above the current
437 working directory.
438 If this directory is a
439 .Xr got 1
440 work tree, use the repository path associated with this work tree.
441 .El
442 .It Cm tree Oo Fl c Ar commit Oc Oo Fl r Ar repository-path Oc Op Ar path
443 Display the repository tree.
444 If a
445 .Ar path
446 is specified, show tree entries at this path.
447 .Pp
448 Displayed tree entries may carry one of the following trailing annotations:
449 .Bl -column YXZ description
450 .It @ Ta entry is a symbolic link
451 .It / Ta entry is a directory
452 .It * Ta entry is an executable file
453 .It $ Ta entry is a Git submodule
454 .El
455 .Pp
456 Symbolic link entries are also annotated with the target path of the link.
457 .Pp
458 The key bindings for
459 .Cm tog tree
460 are as follows (N denotes optional prefixed count modifier):
461 .Bl -tag -width Ds
462 .It Cm Down-arrow, j, Ctrl-n
463 Move the selection cursor down N lines (default: 1).
464 .It Cm Up-arrow, k, Ctrl-p
465 Move the selection cursor up N lines (default: 1).
466 .It Cm Page-down, Space, Ctrl+f, f
467 Move the selection cursor down N pages (default: 1).
468 .It Cm Page-up, Ctrl+b, b
469 Move the selection cursor up N pages (default: 1).
470 .It Cm Ctrl+d, d
471 Move the selection cursor down N half pages (default: 1).
472 .It Cm Ctrl+u, u
473 Move the selection cursor up N half pages (default: 1).
474 .It Cm Home, g
475 Move the selection cursor to the first entry.
476 .It Cm End, G
477 Move the selection cursor to the last entry.
478 .It Cm Enter
479 Enter the currently selected directory, or switch to the
480 .Cm blame
481 view for the currently selected file.
482 .It Cm l
483 Open a
484 .Cm log
485 view for the currently selected tree entry.
486 .It Cm r
487 Open a
488 .Cm ref
489 view listing all references in the repository.
490 This can then be used to open a new
491 .Cm tree
492 view for arbitrary branches and tags.
493 .It Cm Backspace
494 Move back to the Nth parent directory (default: 1).
495 .It Cm i
496 Show object IDs for all objects displayed in the
497 .Cm tree
498 view.
499 .It Cm /
500 Prompt for a search pattern and start searching for matching tree entries.
501 The search pattern is an extended regular expression which is matched
502 against the tree entry's name.
503 Regular expression syntax is documented in
504 .Xr re_format 7 .
505 .It Cm n
506 Find the Nth next tree entry which matches the current search pattern
507 (default: 1).
508 .It Cm N
509 Find the Nth previous tree entry which matches the current search pattern
510 (default: 1).
511 .El
512 .Pp
513 The options for
514 .Cm tog tree
515 are as follows:
516 .Bl -tag -width Ds
517 .It Fl c Ar commit
518 Start traversing history at the specified
519 .Ar commit .
520 The expected argument is the name of a branch or a commit ID SHA1 hash.
521 An abbreviated hash argument will be expanded to a full SHA1 hash
522 automatically, provided the abbreviation is unique.
523 .It Fl r Ar repository-path
524 Use the repository at the specified path.
525 If not specified, assume the repository is located at or above the current
526 working directory.
527 If this directory is a
528 .Xr got 1
529 work tree, use the repository path associated with this work tree.
530 .El
531 .It Cm ref Oo Fl r Ar repository-path Oc
532 Display references in the repository.
533 .Pp
534 The key bindings for
535 .Cm tog ref
536 are as follows (N denotes optional prefixed count modifier):
537 .Bl -tag -width Ds
538 .It Cm Down-arrow, j, Ctrl-n
539 Move the selection cursor down N lines (default: 1).
540 .It Cm Up-arrow, k, Ctrl-p
541 Move the selection cursor up N lines (default: 1).
542 .It Cm Page-down, Space, Ctrl+f, f
543 Move the selection cursor down N pages (default: 1).
544 .It Cm Page-up, Ctrl+b, b
545 Move the selection cursor up N pages (default: 1).
546 .It Cm Ctrl+d, d
547 Move the selection cursor down N half pages (default: 1).
548 .It Cm Ctrl+u, u
549 Move the selection cursor up N half pages (default: 1).
550 .It Cm Home, g
551 Move the selection cursor to the first reference.
552 .It Cm End, G
553 Move the selection cursor to the last reference.
554 .It Cm Enter
555 Open a
556 .Cm log
557 view which begins traversing history at the commit resolved via the
558 currently selected reference.
559 .It Cm t
560 Open a
561 .Cm tree
562 view showing the tree resolved via the currently selected reference.
563 .It Cm i
564 Show object IDs for all non-symbolic references displayed in the
565 .Cm ref
566 view.
567 .It Cm m
568 Show last modified date of each displayed reference.
569 .It Cm o
570 Toggle display order of references between sort by name and sort by timestamp.
571 .It Cm /
572 Prompt for a search pattern and start searching for matching references.
573 The search pattern is an extended regular expression which is matched
574 against absolute reference names.
575 Regular expression syntax is documented in
576 .Xr re_format 7 .
577 .It Cm n
578 Find the Nth next reference which matches the current search pattern
579 (default: 1).
580 .It Cm N
581 Find the Nth previous reference which matches the current search pattern
582 (default: 1).
583 .It Cm Ctrl+l
584 Reload the list of references displayed by the
585 .Cm ref
586 view.
587 .El
588 .Pp
589 The options for
590 .Cm tog ref
591 are as follows:
592 .Bl -tag -width Ds
593 .It Fl r Ar repository-path
594 Use the repository at the specified path.
595 If not specified, assume the repository is located at or above the current
596 working directory.
597 If this directory is a
598 .Xr got 1
599 work tree, use the repository path associated with this work tree.
600 .El
601 .El
602 .Sh ENVIRONMENT
603 .Bl -tag -width TOG_VIEW_SPLIT_MODE
604 .It Ev TOG_DIFF_ALGORITHM
605 Determines the default diff algorithm used by
606 .Nm .
607 Supported diff algorithms are Myers (quick and dirty) and
608 Patience (slow and tidy).
609 Valid values for
610 .Ev TOG_DIFF_ALGORITHM
611 are
612 .Dq patience
613 and
614 .Dq myers .
615 If unset, the Myers diff algorithm will be used by default.
616 .It Ev TOG_VIEW_SPLIT_MODE
617 Determines the default layout of split-screen views.
618 If set to
619 .Dq h
620 or
621 .Dq H ,
622 .Nm
623 will use horizontal split by default.
624 Otherwise, vertical split will be used.
625 The
626 .Cm S
627 key can be used to switch between vertical and horizontal split layout
628 at run-time.
629 .It Ev TOG_COLORS
630 .Nm
631 shows colorized output if this variable is set to a non-empty value.
632 The default color scheme can be modified by setting the environment
633 variables documented below.
634 The colors available in color schemes are
635 .Dq black ,
636 .Dq red ,
637 .Dq green ,
638 .Dq yellow ,
639 .Dq blue ,
640 .Dq magenta ,
641 .Dq cyan ,
642 and
643 .Dq default
644 which maps to the terminal's default foreground color.
645 .It Ev TOG_COLOR_DIFF_MINUS
646 The color used to mark up removed lines in diffs.
647 If not set, the default value
648 .Dq magenta
649 is used.
650 .It Ev TOG_COLOR_DIFF_PLUS
651 The color used to mark up added lines in diffs.
652 If not set, the default value
653 .Dq cyan
654 is used.
655 .It Ev TOG_COLOR_DIFF_CHUNK_HEADER
656 The color used to mark up chunk header lines in diffs.
657 If not set, the default value
658 .Dq yellow
659 is used.
660 .It Ev TOG_COLOR_DIFF_META
661 The color used to mark up meta data in diffs.
662 If not set, the default value
663 .Dq green
664 is used.
665 .It Ev TOG_COLOR_TREE_SUBMODULE
666 The color used to mark up submodule tree entries.
667 If not set, the default value
668 .Dq magenta
669 is used.
670 .It Ev TOG_COLOR_TREE_SYMLINK
671 The color used to mark up symbolic link tree entries.
672 If not set, the default value
673 .Dq magenta
674 is used.
675 .It Ev TOG_COLOR_TREE_DIRECTORY
676 The color used to mark up directory tree entries.
677 If not set, the default value
678 .Dq cyan
679 is used.
680 .It Ev TOG_COLOR_TREE_EXECUTABLE
681 The color used to mark up executable file tree entries.
682 If not set, the default value
683 .Dq green
684 is used.
685 .It Ev TOG_COLOR_COMMIT
686 The color used to mark up commit IDs.
687 If not set, the default value
688 .Dq green
689 is used.
690 .It Ev TOG_COLOR_AUTHOR
691 The color used to mark up author information.
692 If not set, the default value
693 .Dq cyan
694 is used.
695 .It Ev TOG_COLOR_DATE
696 The color used to mark up date information.
697 If not set, the default value
698 .Dq yellow
699 is used.
700 .It Ev TOG_COLOR_REFS_HEADS
701 The color used to mark up references in the
702 .Dq refs/heads/
703 namespace.
704 If not set, the default value
705 .Dq green
706 is used.
707 .It Ev TOG_COLOR_REFS_TAGS
708 The color used to mark up references in the
709 .Dq refs/tags/
710 namespace.
711 If not set, the default value
712 .Dq magenta
713 is used.
714 .It Ev TOG_COLOR_REFS_REMOTES
715 The color used to mark up references in the
716 .Dq refs/remotes/
717 namespace.
718 If not set, the default value
719 .Dq yellow
720 is used.
721 .It Ev TOG_COLOR_REFS_BACKUP
722 The color used to mark up references in the
723 .Dq refs/got/backup/
724 namespace.
725 If not set, the default value
726 .Dq cyan
727 is used.
728 .El
729 .Sh EXIT STATUS
730 .Ex -std tog
731 .Sh SEE ALSO
732 .Xr got 1 ,
733 .Xr git-repository 5 ,
734 .Xr re_format 7
735 .Sh AUTHORS
736 .An Christian Weisgerber Aq Mt naddy@openbsd.org
737 .An Josh Rickmar Aq Mt jrick@zettaport.com
738 .An Joshua Stein Aq Mt jcs@openbsd.org
739 .An Mark Jamsek Aq Mt mark@jamsek.dev
740 .An Martin Pieuchot Aq Mt mpi@openbsd.org
741 .An Omar Polo Aq Mt op@openbsd.org
742 .An Stefan Sperling Aq Mt stsp@openbsd.org
743 .An Klemens Nanni Aq Mt kn@openbsd.org