1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/common/git-column.md
2021-01-08 04:33:46 -03:00

447 B

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}}