mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
guilt: document call without arguments
This commit is contained in:
parent
a212a78c1b
commit
aeebb1c1c1
|
|
@ -7,10 +7,16 @@
|
|||
\fBgit\-guilt\fR \- calculate change between two revisions
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
git guilt [<option>] <since> <until>
|
||||
\fBgit guilt\fR [<option>]
|
||||
.
|
||||
.br
|
||||
\fBgit guilt\fR [<option>] <since> [<until>]
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Calculate the change in blame between two revisions
|
||||
In the first form, shows total blame count for files with unstaged changes\.
|
||||
.
|
||||
.P
|
||||
In the second form, calculates the change in blame between two revisions\. If not specified, <until> will default to HEAD\.
|
||||
.
|
||||
.SH "OPTIONS"
|
||||
\-h, \-\-help
|
||||
|
|
@ -37,13 +43,30 @@ Ignore whitespace only changes when attributing blame
|
|||
Output debug information
|
||||
.
|
||||
.SH "Examples"
|
||||
Find blame on unstaged modified files:
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
.nf
|
||||
|
||||
$ git guilt (1)
|
||||
spacewander ++++
|
||||
|
||||
(1) There is only one modified file and it is not staged\. The four
|
||||
plusses means that the file has four lines, all contributed by spacewander\.
|
||||
.
|
||||
.fi
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.P
|
||||
Find blame delta between two commits:
|
||||
.
|
||||
.IP "" 4
|
||||
.
|
||||
.nf
|
||||
|
||||
$ git guilt HEAD~2 HEAD
|
||||
$ git guilt HEAD~3 HEAD^
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(115)
|
||||
Jesse Sipprell \-
|
||||
.
|
||||
|
|
@ -58,7 +81,7 @@ Find blame delta over the last three weeks:
|
|||
.
|
||||
.nf
|
||||
|
||||
$ git guilt `git log \-\-until="3 weeks ago" \-\-format="%H" \-n 1` HEAD
|
||||
$ git guilt `git log \-\-until="3 weeks ago" \-\-format="%H" \-n 1`
|
||||
Paul Schreiber +++++++++++++++++++++++++++++++++++++++++++++(349)
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(113)
|
||||
Mark Eissler ++++++++++++++++++++++++++
|
||||
|
|
|
|||
|
|
@ -76,11 +76,15 @@
|
|||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
||||
<p>git guilt [<option>] <since> <until></p>
|
||||
<p><code>git guilt</code> [<option>]<br />
|
||||
<code>git guilt</code> [<option>] <since> [<until>]</p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
<p>Calculate the change in blame between two revisions</p>
|
||||
<p>In the first form, shows total blame count for files with unstaged changes.</p>
|
||||
|
||||
<p>In the second form, calculates the change in blame between two revisions.
|
||||
If not specified, <until> will default to HEAD.</p>
|
||||
|
||||
<h2 id="OPTIONS">OPTIONS</h2>
|
||||
|
||||
|
|
@ -102,16 +106,25 @@
|
|||
|
||||
<h2 id="Examples">Examples</h2>
|
||||
|
||||
<p>Find blame on unstaged modified files:</p>
|
||||
|
||||
<pre><code>$ git guilt (1)
|
||||
spacewander ++++
|
||||
|
||||
(1) There is only one modified file and it is not staged. The four
|
||||
plusses means that the file has four lines, all contributed by spacewander.
|
||||
</code></pre>
|
||||
|
||||
<p>Find blame delta between two commits:</p>
|
||||
|
||||
<pre><code>$ git guilt HEAD~2 HEAD
|
||||
<pre><code>$ git guilt HEAD~3 HEAD^
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(115)
|
||||
Jesse Sipprell -
|
||||
</code></pre>
|
||||
|
||||
<p>Find blame delta over the last three weeks:</p>
|
||||
|
||||
<pre><code>$ git guilt `git log --until="3 weeks ago" --format="%H" -n 1` HEAD
|
||||
<pre><code>$ git guilt `git log --until="3 weeks ago" --format="%H" -n 1`
|
||||
Paul Schreiber +++++++++++++++++++++++++++++++++++++++++++++(349)
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(113)
|
||||
Mark Eissler ++++++++++++++++++++++++++
|
||||
|
|
@ -135,7 +148,7 @@ spacewander +++++++++++++++++++++++++++++++++++++++++++++(112)
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by spacewander <<a href="mailto:spacewanderlzx@gmail.com" data-bare-link="true">spacewanderlzx@gmail.com</a>></p>
|
||||
<p>Written by spacewander <<a href="mailto:spacewanderlzx@gmail.com" data-bare-link="true">spacewanderlzx@gmail.com</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,15 @@ git-guilt(1) -- calculate change between two revisions
|
|||
|
||||
## SYNOPSIS
|
||||
|
||||
git guilt [<option>] <since> <until>
|
||||
`git guilt` [<option>]<br>
|
||||
`git guilt` [<option>] <since> [<until>]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Calculate the change in blame between two revisions
|
||||
In the first form, shows total blame count for files with unstaged changes.
|
||||
|
||||
In the second form, calculates the change in blame between two revisions.
|
||||
If not specified, <until> will default to HEAD.
|
||||
|
||||
## OPTIONS
|
||||
|
||||
|
|
@ -29,15 +33,23 @@ Calculate the change in blame between two revisions
|
|||
|
||||
## Examples
|
||||
|
||||
Find blame on unstaged modified files:
|
||||
|
||||
$ git guilt (1)
|
||||
spacewander ++++
|
||||
|
||||
(1) There is only one modified file and it is not staged. The four
|
||||
plusses means that the file has four lines, all contributed by spacewander.
|
||||
|
||||
Find blame delta between two commits:
|
||||
|
||||
$ git guilt HEAD~2 HEAD
|
||||
$ git guilt HEAD~3 HEAD^
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(115)
|
||||
Jesse Sipprell -
|
||||
|
||||
Find blame delta over the last three weeks:
|
||||
|
||||
$ git guilt `git log --until="3 weeks ago" --format="%H" -n 1` HEAD
|
||||
$ git guilt `git log --until="3 weeks ago" --format="%H" -n 1`
|
||||
Paul Schreiber +++++++++++++++++++++++++++++++++++++++++++++(349)
|
||||
spacewander +++++++++++++++++++++++++++++++++++++++++++++(113)
|
||||
Mark Eissler ++++++++++++++++++++++++++
|
||||
|
|
|
|||
Loading…
Reference in a new issue