tldr/pages/common/git-column.md

17 lines
414 B
Markdown
Raw Normal View History

2021-01-08 07:33:46 +00:00
# git column
> Display data in columns.
> More information: <https://git-scm.com/docs/git-column>.
- Format `stdin` as multiple columns:
2021-01-08 07:33:46 +00:00
`ls | git column --mode={{column}}`
- Format `stdin` as multiple columns with a maximum width of `100`:
2021-01-08 07:33:46 +00:00
`ls | git column --mode=column --width={{100}}`
- Format `stdin` as multiple columns with a maximum padding of `30`:
2021-01-08 07:33:46 +00:00
`ls | git column --mode=column --padding={{30}}`