Merge pull request #414 from nicolaiskogheim/alias-docs

alias: docs
This commit is contained in:
hemanth.hm 2015-08-04 06:17:23 +05:30
commit ddfd3d9752
3 changed files with 31 additions and 20 deletions

View file

@ -1,17 +1,30 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-ALIAS" "1" "April 2015" "" ""
.TH "GIT\-ALIAS" "1" "August 2015" "" "Git Extras"
.
.SH "NAME"
\fBgit\-alias\fR \- Define, search and show aliases
.
.SH "SYNOPSIS"
\fBgit\-alias\fR [<alias\-name> <command>]|[<search\-term>]
\fBgit\-alias\fR
.
.br
\fBgit\-alias\fR <search\-term>
.
.br
\fBgit\-alias\fR <alias\-name> <command>
.
.SH "DESCRIPTION"
List all aliases, show one alias, or set one (global) alias\.
.
.SH "OPTIONS"
<search\-term>
.
.P
The pattern used to search aliases\.
.
.P
<alias\-name>
.
.P
@ -23,12 +36,6 @@ The name of the alias to create\.
.P
The command for which you are creating an alias\.
.
.P
<search\-term>
.
.P
The pattern used for search aliases\.
.
.SH "EXAMPLES"
Defining a new alias:
.

View file

@ -65,7 +65,7 @@
<ol class='man-decor man-head man head'>
<li class='tl'>git-alias(1)</li>
<li class='tc'></li>
<li class='tc'>Git Extras</li>
<li class='tr'>git-alias(1)</li>
</ol>
@ -76,12 +76,20 @@
<h2 id="SYNOPSIS">SYNOPSIS</h2>
<p><code>git-alias</code> [&lt;alias-name&gt; &lt;command&gt;]|[&lt;search-term&gt;]</p>
<p><code>git-alias</code><br />
<code>git-alias</code> &lt;search-term&gt;<br />
<code>git-alias</code> &lt;alias-name&gt; &lt;command&gt;</p>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
<p> List all aliases, show one alias, or set one (global) alias.</p>
<h2 id="OPTIONS">OPTIONS</h2>
<p> &lt;search-term&gt;</p>
<p> The pattern used to search aliases.</p>
<p> &lt;alias-name&gt;</p>
<p> The name of the alias to create.</p>
@ -90,10 +98,6 @@
<p> The command for which you are creating an alias.</p>
<p> &lt;search-term&gt;</p>
<p> The pattern used for search aliases.</p>
<h2 id="EXAMPLES">EXAMPLES</h2>
<p> Defining a new alias:</p>
@ -119,7 +123,7 @@ whois = !sh -c 'git log -i -1 --pretty="format:%an &lt;%ae>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Jonhnny Weslley &lt;<a href="&#x6d;&#x61;&#105;&#x6c;&#116;&#111;&#58;&#x6a;&#119;&#x40;&#106;&#x6f;&#x6e;&#104;&#110;&#110;&#121;&#x77;&#101;&#115;&#x6c;&#108;&#x65;&#121;&#x2e;&#x6e;&#x65;&#116;" data-bare-link="true">&#x6a;&#119;&#64;&#106;&#x6f;&#110;&#x68;&#110;&#110;&#121;&#x77;&#101;&#x73;&#108;&#108;&#101;&#121;&#46;&#x6e;&#101;&#x74;</a>&gt;</p>
<p>Written by Jonhnny Weslley &lt;<a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#111;&#x3a;&#106;&#119;&#64;&#106;&#111;&#x6e;&#104;&#x6e;&#110;&#121;&#119;&#x65;&#115;&#108;&#x6c;&#x65;&#x79;&#x2e;&#110;&#101;&#116;" data-bare-link="true">&#106;&#119;&#64;&#x6a;&#111;&#x6e;&#104;&#110;&#110;&#121;&#x77;&#101;&#115;&#x6c;&#108;&#x65;&#121;&#x2e;&#110;&#101;&#116;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
@ -132,7 +136,7 @@ whois = !sh -c 'git log -i -1 --pretty="format:%an &lt;%ae>
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>April 2015</li>
<li class='tc'>August 2015</li>
<li class='tr'>git-alias(1)</li>
</ol>

View file

@ -3,9 +3,9 @@ git-alias(1) -- Define, search and show aliases
## SYNOPSIS
`git-alias`
`git-alias` &lt;search-term&gt;
`git-alias` &lt;alias-name&gt; &lt;command&gt;
`git-alias`
`git-alias` &lt;search-term&gt;
`git-alias` &lt;alias-name&gt; &lt;command&gt;
## DESCRIPTION
@ -15,7 +15,7 @@ git-alias(1) -- Define, search and show aliases
&lt;search-term&gt;
The pattern used for search aliases.
The pattern used to search aliases.
&lt;alias-name&gt;