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