mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
update docs due to formatting error in git-utimes man page
This commit is contained in:
parent
34237934d4
commit
95c54f6cdb
|
|
@ -12,12 +12,19 @@ Change files modification time to their last commit date\. Does not touch files
|
|||
.P
|
||||
Preserves the original modification time of files that were committed from the local repo, by only touching files that are newer than their last commit date\.
|
||||
.SH "EXAMPLES"
|
||||
.TP
|
||||
Update all files' modification time to their last commit date, except those in working tree or index:
|
||||
|
||||
.TP
|
||||
.IP "" 4
|
||||
.nf
|
||||
$ git utimes
|
||||
.fi
|
||||
.IP "" 0
|
||||
.P
|
||||
As above, but preserve original modification time of files that were committed from local repo:
|
||||
|
||||
.IP "" 4
|
||||
.nf
|
||||
$ git utimes \-\-newer
|
||||
.fi
|
||||
.IP "" 0
|
||||
.SH "AUTHOR"
|
||||
Written by Vitaly Chikunov <\fIvt@altlinux\.org\fR>, inspired by Stackexchange comments\. Updated by Bill Wood <\fIwpwoodjr@gmail\.com\fR> to add \fB\-\-newer\fR flag and ignore files in the working tree or index\.
|
||||
.SH "REPORTING BUGS"
|
||||
|
|
|
|||
|
|
@ -91,18 +91,15 @@
|
|||
|
||||
<h2 id="EXAMPLES">EXAMPLES</h2>
|
||||
|
||||
<dl>
|
||||
<dt>Update all files' modification time to their last commit date, except those in working tree or index:
|
||||
<p>Update all files' modification time to their last commit date, except those in working tree or index:</p>
|
||||
|
||||
<p>$ git utimes</p>
|
||||
</dt>
|
||||
<dd></dd>
|
||||
<dt>As above, but preserve original modification time of files that were committed from local repo:
|
||||
<pre><code>$ git utimes
|
||||
</code></pre>
|
||||
|
||||
<p>$ git utimes --newer</p>
|
||||
</dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
<p>As above, but preserve original modification time of files that were committed from local repo:</p>
|
||||
|
||||
<pre><code>$ git utimes --newer
|
||||
</code></pre>
|
||||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@ git-utimes(1) -- Change files modification time to their last commit date
|
|||
|
||||
## EXAMPLES
|
||||
|
||||
* Update all files' modification time to their last commit date, except those in working tree or index:
|
||||
Update all files' modification time to their last commit date, except those in working tree or index:
|
||||
|
||||
$ git utimes
|
||||
|
||||
* As above, but preserve original modification time of files that were committed from local repo:
|
||||
As above, but preserve original modification time of files that were committed from local repo:
|
||||
|
||||
$ git utimes --newer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue