Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-column.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-column.adoc` 89 lines ยท 2206 bytes Raw Blame History 1 git-column(1) 2 ============= 3 4 NAME 5 ---- 6 git-column - Display data in columns 7 8 SYNOPSIS 9 -------- 10 [verse] 11 'git column' [--command=] [--[raw-]mode=] [--width=] 12 [--indent=] [--nl=] [--padding=] 13 14 DESCRIPTION 15 ----------- 16 This command formats the lines of its standard input into a table with 17 multiple columns. Each input line occupies one cell of the table. It 18 is used internally by other git commands to format output into 19 columns. 20 21 OPTIONS 22 ------- 23 --command=:: 24 Look up layout mode using configuration variable column. and 25 column.ui. 26 27 --mode=:: 28 Specify layout mode. See configuration variable column.ui for option 29 syntax in linkgit:git-config[1]. 30 31 --raw-mode=:: 32 Same as --mode but take mode encoded as a number. This is mainly used 33 by other commands that have already parsed layout mode. 34 35 --width=:: 36 Specify the terminal width. By default 'git column' will detect the 37 terminal width, or fall back to 80 if it is unable to do so. 38 39 --indent=:: 40 String to be printed at the beginning of each line. 41 42 --nl=:: 43 String to be printed at the end of each line, 44 including newline character. 45 46 --padding=:: 47 The number of spaces between columns. One space by default. 48 49 EXAMPLES 50 -------- 51 52 Format data by columns: 53 54 ------------ 55 $ seq 1 24 | git column --mode=column --padding=5 56 1 4 7 10 13 16 19 22 57 2 5 8 11 14 17 20 23 58 3 6 9 12 15 18 21 24 59 ------------ 60 61 Format data by rows: 62 63 ------------ 64 $ seq 1 21 | git column --mode=row --padding=5 65 1 2 3 4 5 6 7 66 8 9 10 11 12 13 14 67 15 16 17 18 19 20 21 68 ------------ 69 70 List some tags in a table with unequal column widths: 71 72 ------------ 73 $ git tag --list 'v2.4.*' --column=row,dense 74 v2.4.0 v2.4.0-rc0 v2.4.0-rc1 v2.4.0-rc2 v2.4.0-rc3 75 v2.4.1 v2.4.10 v2.4.11 v2.4.12 v2.4.2 76 v2.4.3 v2.4.4 v2.4.5 v2.4.6 v2.4.7 77 v2.4.8 v2.4.9 78 ------------ 79 80 CONFIGURATION 81 ------------- 82 83 include::includes/cmd-config-section-all.adoc[] 84 85 include::config/column.adoc[] 86 87 GIT 88 --- 89 Part of the linkgit:git[1] suite