3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.44.0.rc1.17.g3e0d3cd5c7
10 .TH "GIT\-COLUMN" "1" "2024\-02\-15" "Git 2\&.44\&.0\&.rc1\&.17\&.g3" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-column \- Display data in columns
35 \fIgit column\fR [\-\-command=<name>] [\-\-[raw\-]mode=<mode>] [\-\-width=<width>]
36 [\-\-indent=<string>] [\-\-nl=<string>] [\-\-padding=<n>]
41 This command formats the lines of its standard input into a table with multiple columns\&. Each input line occupies one cell of the table\&. It is used internally by other git commands to format output into columns\&.
46 Look up layout mode using configuration variable column\&.<name> and column\&.ui\&.
51 Specify layout mode\&. See configuration variable column\&.ui for option syntax in
52 \fBgit-config\fR(1)\&.
57 Same as \-\-mode but take mode encoded as a number\&. This is mainly used by other commands that have already parsed layout mode\&.
62 Specify the terminal width\&. By default
64 will detect the terminal width, or fall back to 80 if it is unable to do so\&.
69 String to be printed at the beginning of each line\&.
74 String to be printed at the end of each line, including newline character\&.
79 The number of spaces between columns\&. One space by default\&.
83 Format data by columns:
89 $ seq 1 24 | git column \-\-mode=column \-\-padding=5
105 $ seq 1 21 | git column \-\-mode=row \-\-padding=5
115 List some tags in a table with unequal column widths:
121 $ git tag \-\-list \*(Aqv2\&.4\&.*\*(Aq \-\-column=row,dense
122 v2\&.4\&.0 v2\&.4\&.0\-rc0 v2\&.4\&.0\-rc1 v2\&.4\&.0\-rc2 v2\&.4\&.0\-rc3
123 v2\&.4\&.1 v2\&.4\&.10 v2\&.4\&.11 v2\&.4\&.12 v2\&.4\&.2
124 v2\&.4\&.3 v2\&.4\&.4 v2\&.4\&.5 v2\&.4\&.6 v2\&.4\&.7
125 v2\&.4\&.8 v2\&.4\&.9
133 Everything below this line in this section is selectively included from the \fBgit-config\fR(1) documentation\&. The content is the same as what\(cqs found there:
137 Specify whether supported commands should output in columns\&. This variable consists of a list of tokens separated by spaces or commas:
139 These options control when the feature should be enabled (defaults to
144 always show in columns
149 never show in columns
154 show in columns if the output is to the terminal
157 These options control layout (defaults to
158 \fIcolumn\fR)\&. Setting any of these implies
168 fill columns before rows
173 fill rows before columns
181 Finally, these options can be combined with a layout option (defaults to
186 make unequal size columns to utilize more space
191 make equal size columns
197 Specify whether to output branch listing in
206 Specify the layout when listing items in
207 \fBgit clean \-i\fR, which always shows files and directories in columns\&. See
214 Specify whether to output untracked files in
223 Specify whether to output tag listings in
231 Part of the \fBgit\fR(1) suite