mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
git-column: add page (#5108)
This commit is contained in:
parent
1490bac066
commit
b57f62cb20
1 changed files with 16 additions and 0 deletions
16
pages/common/git-column.md
Normal file
16
pages/common/git-column.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# git column
|
||||||
|
|
||||||
|
> Display data in columns.
|
||||||
|
> More information: <https://git-scm.com/docs/git-column>.
|
||||||
|
|
||||||
|
- Format the standard input as multiple columns:
|
||||||
|
|
||||||
|
`ls | git column --mode={{column}}`
|
||||||
|
|
||||||
|
- Format the standard input as multiple columns with a maximum width of `100`:
|
||||||
|
|
||||||
|
`ls | git column --mode=column --width={{100}}`
|
||||||
|
|
||||||
|
- Format the standard input as multiple columns with a maximum padding of `30`:
|
||||||
|
|
||||||
|
`ls | git column --mode=column --padding={{30}}`
|
Loading…
Add table
Reference in a new issue