Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions pages/common/git-column.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# git column

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

- List files and folders in the current directory, formatted as columns:

`ls | git column --mode=column`

- List files and folders in the current directory, formatted as columns with a maximum width of `100`:

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

- List files and folders in the current directory, formatted as columns with a maximum padding of `30`:

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