3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
7 .\" Source: Git 2.46.0.46.g406f326d27
10 .TH "GIT\-COLUMN" "1" "2024-08-01" "Git 2\&.46\&.0\&.46\&.g406f326" "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>]
40 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\&.
45 Look up layout mode using configuration variable column\&.<name> and column\&.ui\&.
50 Specify layout mode\&. See configuration variable column\&.ui for option syntax in
51 \fBgit-config\fR(1)\&.
56 Same as \-\-mode but take mode encoded as a number\&. This is mainly used by other commands that have already parsed layout mode\&.
61 Specify the terminal width\&. By default
63 will detect the terminal width, or fall back to 80 if it is unable to do so\&.
68 String to be printed at the beginning of each line\&.
73 String to be printed at the end of each line, including newline character\&.
78 The number of spaces between columns\&. One space by default\&.
82 Format data by columns:
88 $ seq 1 24 | git column \-\-mode=column \-\-padding=5
103 $ seq 1 21 | git column \-\-mode=row \-\-padding=5
112 List some tags in a table with unequal column widths:
118 $ git tag \-\-list \*(Aqv2\&.4\&.*\*(Aq \-\-column=row,dense
119 v2\&.4\&.0 v2\&.4\&.0\-rc0 v2\&.4\&.0\-rc1 v2\&.4\&.0\-rc2 v2\&.4\&.0\-rc3
120 v2\&.4\&.1 v2\&.4\&.10 v2\&.4\&.11 v2\&.4\&.12 v2\&.4\&.2
121 v2\&.4\&.3 v2\&.4\&.4 v2\&.4\&.5 v2\&.4\&.6 v2\&.4\&.7
122 v2\&.4\&.8 v2\&.4\&.9
129 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:
133 Specify whether supported commands should output in columns\&. This variable consists of a list of tokens separated by spaces or commas:
135 These options control when the feature should be enabled (defaults to
140 always show in columns
145 never show in columns
150 show in columns if the output is to the terminal
153 These options control layout (defaults to
154 \fIcolumn\fR)\&. Setting any of these implies
164 fill columns before rows
169 fill rows before columns
177 Finally, these options can be combined with a layout option (defaults to
182 make unequal size columns to utilize more space
187 make equal size columns
193 Specify whether to output branch listing in
202 Specify the layout when listing items in
203 \fBgit clean \-i\fR, which always shows files and directories in columns\&. See
210 Specify whether to output untracked files in
219 Specify whether to output tag listings in
227 Part of the \fBgit\fR(1) suite