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