Files
tldr/pages.zh/common/git-column.md

16 lines
398 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# git column
> 以列的形式显示数据。
> 更多信息:<https://git-scm.com/docs/git-column>。
-`stdin` 格式化为多列:
`ls | git column --mode={{column}}`
-`stdin` 格式化为多列,最大宽度为 `100`
`ls | git column --mode=column --width={{100}}`
-`stdin` 格式化为多列,最大填充为 `30`
`ls | git column --mode=column --padding={{30}}`