</li>\r
<li>\r
<p>\r
+<em>%ai</em>: author date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%cn</em>: committer name\r
</p>\r
</li>\r
</li>\r
<li>\r
<p>\r
+<em>%ci</em>: committer date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%e</em>: encoding\r
</p>\r
</li>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 04-Jul-2007 06:40:53 UTC\r
+Last updated 14-Jul-2007 08:26:10 UTC\r
</div>\r
</div>\r
</body>\r
</li>\r
<li>\r
<p>\r
+<em>%ai</em>: author date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%cn</em>: committer name\r
</p>\r
</li>\r
</li>\r
<li>\r
<p>\r
+<em>%ci</em>: committer date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%e</em>: encoding\r
</p>\r
</li>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 13-Jul-2007 00:24:26 UTC\r
+Last updated 14-Jul-2007 08:26:08 UTC\r
</div>\r
</div>\r
</body>\r
[ --encoding[=<encoding>] ]\r
[ --(author|committer|grep)=<pattern> ]\r
[ --regexp-ignore-case ] [ --extended-regexp ]\r
- [ --date={local|relative|default} ]\r
+ [ --date={local|relative|default|iso|rfc|short} ]\r
[ [--objects | --objects-edge] [ --unpacked ] ]\r
[ --pretty | --header ]\r
[ --bisect ]\r
</p>\r
</dd>\r
<dt>\r
---date={relative,local,default}\r
+--date={relative,local,default,iso,rfc}\r
</dt>\r
<dd>\r
<p>\r
<p><tt>--date=relative</tt> shows dates relative to the current time,\r
e.g. "2 hours ago".</p>\r
<p><tt>--date=local</tt> shows timestamps in user's local timezone.</p>\r
+<p><tt>--date=iso</tt> (or <tt>--date=iso8601</tt>) shows timestamps in ISO 8601 format.</p>\r
+<p><tt>--date=rfc</tt> (or <tt>--date=rfc2822</tt>) shows timestamps in RFC 2822\r
+format, often found in E-mail messages.</p>\r
+<p><tt>--date=short</tt> shows only date but not time, in <tt>YYYY-MM-DD</tt> fomat.</p>\r
<p><tt>--date=default</tt> shows timestamps in the original timezone\r
(either committer's or author's).</p>\r
</dd>\r
</li>\r
<li>\r
<p>\r
+<em>%ai</em>: author date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%cn</em>: committer name\r
</p>\r
</li>\r
</li>\r
<li>\r
<p>\r
+<em>%ci</em>: committer date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%e</em>: encoding\r
</p>\r
</li>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 03-Jul-2007 07:03:44 UTC\r
+Last updated 14-Jul-2007 08:26:10 UTC\r
</div>\r
</div>\r
</body>\r
[ \--encoding[=<encoding>] ]
[ \--(author|committer|grep)=<pattern> ]
[ \--regexp-ignore-case ] [ \--extended-regexp ]
- [ \--date={local|relative|default} ]
+ [ \--date={local|relative|default|iso|rfc|short} ]
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
[ \--pretty | \--header ]
[ \--bisect ]
Synonym for `--date=relative`.
---date={relative,local,default}::
+--date={relative,local,default,iso,rfc}::
Only takes effect for dates shown in human-readable format, such
as when using "--pretty".
+
`--date=local` shows timestamps in user's local timezone.
+
+`--date=iso` (or `--date=iso8601`) shows timestamps in ISO 8601 format.
++
+`--date=rfc` (or `--date=rfc2822`) shows timestamps in RFC 2822
+format, often found in E-mail messages.
++
+`--date=short` shows only date but not time, in `YYYY-MM-DD` fomat.
++
`--date=default` shows timestamps in the original timezone
(either committer's or author's).
<p>Remove files from the working tree and from the index. The\r
files have to be identical to the tip of the branch, and no\r
updates to its contents must have been placed in the staging\r
-area (aka index).</p>\r
+area (aka index). When --cached is given, the staged content has to\r
+match either the tip of the branch <strong>or</strong> the file on disk.</p>\r
</div>\r
<h2>OPTIONS</h2>\r
<div class="sectionbody">\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 16-Jun-2007 09:49:21 UTC\r
+Last updated 14-Jul-2007 08:26:16 UTC\r
</div>\r
</div>\r
</body>\r
Remove files from the working tree and from the index. The
files have to be identical to the tip of the branch, and no
updates to its contents must have been placed in the staging
-area (aka index).
+area (aka index). When --cached is given, the staged content has to
+match either the tip of the branch *or* the file on disk.
OPTIONS
</li>\r
<li>\r
<p>\r
+<em>%ai</em>: author date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%cn</em>: committer name\r
</p>\r
</li>\r
</li>\r
<li>\r
<p>\r
+<em>%ci</em>: committer date, ISO 8601 format\r
+</p>\r
+</li>\r
+<li>\r
+<p>\r
<em>%e</em>: encoding\r
</p>\r
</li>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 21-Jun-2007 00:35:01 UTC\r
+Last updated 14-Jul-2007 08:26:16 UTC\r
</div>\r
</div>\r
</body>\r
- '%aD': author date, RFC2822 style
- '%ar': author date, relative
- '%at': author date, UNIX timestamp
+- '%ai': author date, ISO 8601 format
- '%cn': committer name
- '%ce': committer email
- '%cd': committer date
- '%cD': committer date, RFC2822 style
- '%cr': committer date, relative
- '%ct': committer date, UNIX timestamp
+- '%ci': committer date, ISO 8601 format
- '%e': encoding
- '%s': subject
- '%b': body