1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 08:02:08 +02:00
tldr/pages/common/git-column.md
Lena d427f333b2
pages/*: add backticks around I/O streams (#10436)
* as suggested in #10428
* standard input  => `stdin`
* standard output => `stdout`
* standard error  => `stderr`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 10:59:02 +05:30

414 B

git column

Display data in columns. More information: https://git-scm.com/docs/git-column.

  • Format stdin as multiple columns:

ls | git column --mode={{column}}

  • Format stdin as multiple columns with a maximum width of 100:

ls | git column --mode=column --width={{100}}

  • Format stdin as multiple columns with a maximum padding of 30:

ls | git column --mode=column --padding={{30}}