1GIT-COLUMN(1)                     Git Manual                     GIT-COLUMN(1)
2
3
4

NAME

6       git-column - Display data in columns
7

SYNOPSIS

9       git column [--command=<name>] [--[raw-]mode=<mode>] [--width=<width>]
10                    [--indent=<string>] [--nl=<string>] [--padding=<n>]
11

DESCRIPTION

13       This command formats the lines of its standard input into a table with
14       multiple columns. Each input line occupies one cell of the table. It is
15       used internally by other git commands to format output into columns.
16

OPTIONS

18       --command=<name>
19           Look up layout mode using configuration variable column.<name> and
20           column.ui.
21
22       --mode=<mode>
23           Specify layout mode. See configuration variable column.ui for
24           option syntax in git-config(1).
25
26       --raw-mode=<n>
27           Same as --mode but take mode encoded as a number. This is mainly
28           used by other commands that have already parsed layout mode.
29
30       --width=<width>
31           Specify the terminal width. By default git column will detect the
32           terminal width, or fall back to 80 if it is unable to do so.
33
34       --indent=<string>
35           String to be printed at the beginning of each line.
36
37       --nl=<N>
38           String to be printed at the end of each line, including newline
39           character.
40
41       --padding=<N>
42           The number of spaces between columns. One space by default.
43

EXAMPLES

45       Format data by columns:
46
47           $ seq 1 24 | git column --mode=column --padding=5
48           1      4      7      10     13     16     19     22
49           2      5      8      11     14     17     20     23
50           3      6      9      12     15     18     21     24
51
52       Format data by rows:
53
54           $ seq 1 21 | git column --mode=row --padding=5
55           1      2      3      4      5      6      7
56           8      9      10     11     12     13     14
57           15     16     17     18     19     20     21
58
59       List some tags in a table with unequal column widths:
60
61           $ git tag --list 'v2.4.*' --column=row,dense
62           v2.4.0  v2.4.0-rc0  v2.4.0-rc1  v2.4.0-rc2  v2.4.0-rc3
63           v2.4.1  v2.4.10     v2.4.11     v2.4.12     v2.4.2
64           v2.4.3  v2.4.4      v2.4.5      v2.4.6      v2.4.7
65           v2.4.8  v2.4.9
66

GIT

68       Part of the git(1) suite
69
70
71
72Git 2.31.1                        2021-03-26                     GIT-COLUMN(1)
Impressum