diff --git a/man/git-utimes.1 b/man/git-utimes.1 index 2a9783a..f141002 100644 --- a/man/git-utimes.1 +++ b/man/git-utimes.1 @@ -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" diff --git a/man/git-utimes.html b/man/git-utimes.html index 259c84e..9414dbc 100644 --- a/man/git-utimes.html +++ b/man/git-utimes.html @@ -91,18 +91,15 @@
Update all files' modification time to their last commit date, except those in working tree or index:
-$ git utimes
-$ git utimes
+
- $ git utimes --newer
-As above, but preserve original modification time of files that were committed from local repo:
+ +$ git utimes --newer
+