$ seq 1 24 | git column --mode=column --padding=5 1 4 7 10 13 16 19 22 2 5 8 11 14 17 20 23 3 6 9 12 15 18 21 24
git-column - Display data in columns
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.
Look up layout mode using configuration variable column.<name> and column.ui.
Specify layout mode. See configuration variable column.ui for option syntax in git-config[1].
Same as --mode but take mode encoded as a number. This is mainly used by other commands that have already parsed layout mode.
Specify the terminal width. By default git column
will detect the terminal width, or fall back to 80 if it is unable to do so.
String to be printed at the beginning of each line.
String to be printed at the end of each line, including newline character.
The number of spaces between columns. One space by default.
Format data by columns:
Format data by rows:
List some tags in a table with unequal column widths:
© 2012–2018 Scott Chacon and others
Licensed under the MIT License.
https://git-scm.com/docs/git-column