summaryrefslogtreecommitdiffstats
path: root/git-column.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-10-16 16:37:35 +0900
committerJunio C Hamano <gitster@pobox.com>2018-10-16 16:37:35 +0900
commit32a7527a335c1725848d37986ce4b54ab9861c9d (patch)
tree02359b56b9036ac8a2b9967754dd74eecbe8ca2b /git-column.html
parent6811c064ad2e5451dbbd9b7ade4839dca12479c4 (diff)
downloadgit-htmldocs-32a7527a335c1725848d37986ce4b54ab9861c9d.tar.gz
Autogenerated HTML docs for v2.19.1-450-ga4b8a
Diffstat (limited to 'git-column.html')
-rw-r--r--git-column.html39
1 files changed, 36 insertions, 3 deletions
diff --git a/git-column.html b/git-column.html
index f6af0485c..5138f165a 100644
--- a/git-column.html
+++ b/git-column.html
@@ -758,7 +758,10 @@ git-column(1) Manual Page
<div class="sect1">
<h2 id="_description">DESCRIPTION</h2>
<div class="sectionbody">
-<div class="paragraph"><p>This command formats its input into multiple columns.</p></div>
+<div class="paragraph"><p>This command formats the lines of its standard input into a table with
+multiple columns. Each input line occupies one cell of the table. It
+is used internally by other git commands to format output into
+columns.</p></div>
</div>
</div>
<div class="sect1">
@@ -780,7 +783,7 @@ git-column(1) Manual Page
<dd>
<p>
Specify layout mode. See configuration variable column.ui for option
- syntax.
+ syntax in <a href="git-config.html">git-config(1)</a>.
</p>
</dd>
<dt class="hdlist1">
@@ -830,6 +833,36 @@ git-column(1) Manual Page
</div>
</div>
<div class="sect1">
+<h2 id="_examples">EXAMPLES</h2>
+<div class="sectionbody">
+<div class="paragraph"><p>Format data by columns:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>$ seq 1 24 | git column --mode=column --padding=5
+1 4 7 10 13 16 19 22
+2 5 8 11 14 17 20 23
+3 6 9 12 15 18 21 24</code></pre>
+</div></div>
+<div class="paragraph"><p>Format data by rows:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>$ seq 1 21 | git column --mode=row --padding=5
+1 2 3 4 5 6 7
+8 9 10 11 12 13 14
+15 16 17 18 19 20 21</code></pre>
+</div></div>
+<div class="paragraph"><p>List some tags in a table with unequal column widths:</p></div>
+<div class="listingblock">
+<div class="content">
+<pre><code>$ git tag --list 'v2.4.*' --column=row,dense
+v2.4.0 v2.4.0-rc0 v2.4.0-rc1 v2.4.0-rc2 v2.4.0-rc3
+v2.4.1 v2.4.10 v2.4.11 v2.4.12 v2.4.2
+v2.4.3 v2.4.4 v2.4.5 v2.4.6 v2.4.7
+v2.4.8 v2.4.9</code></pre>
+</div></div>
+</div>
+</div>
+<div class="sect1">
<h2 id="_git">GIT</h2>
<div class="sectionbody">
<div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
@@ -840,7 +873,7 @@ git-column(1) Manual Page
<div id="footer">
<div id="footer-text">
Last updated
- 2018-01-26 15:11:04 PST
+ 2018-10-16 16:37:05 JST
</div>
</div>
</body>