mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-12 17:47:48 +00:00
Update cheatsheets
This commit is contained in:
21
git-column
Normal file
21
git-column
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# git column
|
||||
|
||||
> Display data in columns.
|
||||
> More information: <https://git-scm.com/docs/git-column>.
|
||||
|
||||
- Format `stdin` as multiple columns:
|
||||
|
||||
`ls | git column --mode={{column}}`
|
||||
|
||||
- Format `stdin` as multiple columns with a maximum width of `100`:
|
||||
|
||||
`ls | git column --mode=column --width={{100}}`
|
||||
|
||||
- Format `stdin` as multiple columns with a maximum padding of `30`:
|
||||
|
||||
`ls | git column --mode=column --padding={{30}}`
|
||||
Reference in New Issue
Block a user