Added examples to git-commits-since

This commit is contained in:
nickl- 2012-07-21 23:03:46 +02:00
parent c749fdc54f
commit e47d8d1a17
3 changed files with 74 additions and 5 deletions

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "GIT\-COMMITS\-SINCE" "1" "October 2010" "" "Git Extras"
.TH "GIT\-COMMITS\-SINCE" "1" "July 2012" "" ""
.
.SH "NAME"
\fBgit\-commits\-since\fR \- Show commit logs since some date
@ -19,6 +19,33 @@ List of commits since the given \fIdate\fR\.
Show commits more recent than \fIdate\fR\. By default, the command shows the commit logs since "last week"\.
.
.SH "EXAMPLES"
It is really flexible and these are only 3 of the options, go ahead give it a try:
.
.IP "" 4
.
.nf
$ git commits\-since yesterday
\.\.\. commits since yesterday
nickl\- \- Merge branch upstream master\.
nickl\- \- Rebase bolshakov with master
TJ Holowaychuk \- Merge pull request #128 from nickl\-/git\-extras\-html\-hyperlinks
TJ Holowaychuk \- Merge pull request #129 from nickl\-/develop
nickl\- \- Fix #127 git\-ignore won\'t add duplicates\.
$ git commits\-since 3 o clock pm
\.\.\. commits since 3 o clock pm
nickl\- \- Merge branch upstream master\.
$ git commits\-since 2 hour ago
\.\.\. commits since 2 hour ago
nickl\- \- Merge branch upstream master\.
TJ Holowaychuk \- Merge pull request #128 from nickl\-/git\-extras\-html\-hyperlinks
TJ Holowaychuk \- Merge pull request #129 from nickl\-/develop
.
.fi
.
.IP "" 0
.
.SH "AUTHOR"
Written by Tj Holowaychuk <\fItj@vision\-media\.ca\fR>

View file

@ -61,11 +61,11 @@
<a href="#AUTHOR">AUTHOR</a>
<a href="#REPORTING-BUGS">REPORTING BUGS</a>
<a href="#SEE-ALSO">SEE ALSO</a>
</div>
</div>
<ol class='man-decor man-head man head'>
<li class='tl'>git-commits-since(1)</li>
<li class='tc'>Git Extras</li>
<li class='tc'></li>
<li class='tr'>git-commits-since(1)</li>
</ol>
@ -90,9 +90,30 @@
<h2 id="EXAMPLES">EXAMPLES</h2>
<p> It is really flexible and these are only 3 of the options, go ahead give it a try:</p>
<pre><code>$ git commits-since yesterday
... commits since yesterday
nickl- - Merge branch upstream master.
nickl- - Rebase bolshakov with master
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop
nickl- - Fix #127 git-ignore won't add duplicates.
$ git commits-since 3 o clock pm
... commits since 3 o clock pm
nickl- - Merge branch upstream master.
$ git commits-since 2 hour ago
... commits since 2 hour ago
nickl- - Merge branch upstream master.
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop
</code></pre>
<h2 id="AUTHOR">AUTHOR</h2>
<p>Written by Tj Holowaychuk &lt;<a href="&#109;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x74;&#x6a;&#64;&#118;&#105;&#x73;&#105;&#x6f;&#x6e;&#45;&#109;&#x65;&#100;&#105;&#97;&#x2e;&#99;&#97;" data-bare-link="true">&#x74;&#x6a;&#64;&#118;&#x69;&#x73;&#x69;&#x6f;&#x6e;&#x2d;&#109;&#x65;&#100;&#x69;&#97;&#x2e;&#x63;&#x61;</a>&gt;</p>
<p>Written by Tj Holowaychuk &lt;<a href="&#x6d;&#x61;&#x69;&#x6c;&#116;&#111;&#58;&#116;&#106;&#x40;&#x76;&#x69;&#115;&#x69;&#x6f;&#110;&#45;&#x6d;&#x65;&#100;&#x69;&#x61;&#x2e;&#99;&#x61;" data-bare-link="true">&#x74;&#106;&#x40;&#118;&#x69;&#115;&#x69;&#x6f;&#x6e;&#45;&#x6d;&#101;&#x64;&#x69;&#97;&#46;&#99;&#x61;</a>&gt;</p>
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
@ -105,7 +126,7 @@
<ol class='man-decor man-foot man foot'>
<li class='tl'></li>
<li class='tc'>October 2010</li>
<li class='tc'>July 2012</li>
<li class='tr'>git-commits-since(1)</li>
</ol>

View file

@ -17,6 +17,27 @@ git-commits-since(1) -- Show commit logs since some date
## EXAMPLES
It is really flexible and these are only 3 of the options, go ahead give it a try:
$ git commits-since yesterday
... commits since yesterday
nickl- - Merge branch upstream master.
nickl- - Rebase bolshakov with master
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop
nickl- - Fix #127 git-ignore won't add duplicates.
$ git commits-since 3 o clock pm
... commits since 3 o clock pm
nickl- - Merge branch upstream master.
$ git commits-since 2 hour ago
... commits since 2 hour ago
nickl- - Merge branch upstream master.
TJ Holowaychuk - Merge pull request #128 from nickl-/git-extras-html-hyperlinks
TJ Holowaychuk - Merge pull request #129 from nickl-/develop
## AUTHOR
Written by Tj Holowaychuk &lt;<tj@vision-media.ca>&gt;