From d974983ed2ade24c31fe129fe39769dce97d7749 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 7 Jan 2021 10:20:29 -0500 Subject: [PATCH 1/3] git-column: add page --- pages/common/git-column.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/git-column.md diff --git a/pages/common/git-column.md b/pages/common/git-column.md new file mode 100644 index 00000000000000..4e5e2a47964558 --- /dev/null +++ b/pages/common/git-column.md @@ -0,0 +1,16 @@ +# git column + +> Display data in columns. +> More information: . + +- 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}}` From 6ba6d9a466711a54d013c68f8edfdee1dec2ca73 Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 7 Jan 2021 17:00:02 -0500 Subject: [PATCH 2/3] Update grammar --- pages/common/git-column.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/git-column.md b/pages/common/git-column.md index 4e5e2a47964558..e645c6f1a6f560 100644 --- a/pages/common/git-column.md +++ b/pages/common/git-column.md @@ -3,14 +3,14 @@ > Display data in columns. > More information: . -- List files and folders in the current directory, formatted as columns: +- Format the standard input as multiple columns: `ls | git column --mode=column` -- List files and folders in the current directory, formatted as columns with a maximum width of `100`: +- Format the standard input as multiple 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`: +- Format the standard input as multiple columns with a maximum padding of `30`: `ls | git column --mode=column --padding={{30}}` From 6a2688c9f19e0c03e6a378580fe41ec96c8cb65b Mon Sep 17 00:00:00 2001 From: bl-ue <54780737+bl-ue@users.noreply.github.com> Date: Thu, 7 Jan 2021 17:00:20 -0500 Subject: [PATCH 3/3] Update pages/common/git-column.md Co-authored-by: Starbeamrainbowlabs --- pages/common/git-column.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/git-column.md b/pages/common/git-column.md index e645c6f1a6f560..8c2aedccdd3081 100644 --- a/pages/common/git-column.md +++ b/pages/common/git-column.md @@ -5,7 +5,7 @@ - Format the standard input as multiple columns: -`ls | git column --mode=column` +`ls | git column --mode={{column}}` - Format the standard input as multiple columns with a maximum width of `100`: