<h2>SYNOPSIS</h2>\r
<div class="sectionbody">\r
<div class="verseblock">\r
-<div class="content"><em>git-clean</em> [-d] [-n] [-q] [-x | -X]</div></div>\r
+<div class="content"><em>git-clean</em> [-d] [-n] [-q] [-x | -X] [--] <paths>…</div></div>\r
</div>\r
<h2>DESCRIPTION</h2>\r
<div class="sectionbody">\r
<p>Removes files unknown to git. This allows to clean the working tree\r
from files that are not under version control. If the <em>-x</em> option is\r
specified, ignored files are also removed, allowing to remove all\r
-build products.</p>\r
+build products.\r
+When optional <tt><paths>…</tt> arguments are given, the paths\r
+affected are further limited to those that match them.</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 05-Apr-2006 10:34:27 UTC\r
+Last updated 10-May-2006 00:13:32 UTC\r
</div>\r
</div>\r
</body>\r
SYNOPSIS
--------
[verse]
-'git-clean' [-d] [-n] [-q] [-x | -X]
+'git-clean' [-d] [-n] [-q] [-x | -X] [--] <paths>...
DESCRIPTION
-----------
from files that are not under version control. If the '-x' option is
specified, ignored files are also removed, allowing to remove all
build products.
+When optional `<paths>...` arguments are given, the paths
+affected are further limited to those that match them.
+
OPTIONS
-------
[--cacheinfo <mode> <object> <file>]*\r
[--chmod=(+|-)x]\r
[--assume-unchanged | --no-assume-unchanged]\r
- [--really-refresh] [--unresolve]\r
+ [--really-refresh] [--unresolve] [--again]\r
[--info-only] [--index-info]\r
[-z] [--stdin]\r
[--verbose]\r
</p>\r
</dd>\r
<dt>\r
+--again\r
+</dt>\r
+<dd>\r
+<p>\r
+ Runs <tt>git-update-index</tt> itself on the paths whose index\r
+ entries are different from those from the <tt>HEAD</tt> commit.\r
+</p>\r
+</dd>\r
+<dt>\r
--unresolve\r
</dt>\r
<dd>\r
</div>\r
<div id="footer">\r
<div id="footer-text">\r
-Last updated 05-May-2006 23:14:17 UTC\r
+Last updated 10-May-2006 00:13:32 UTC\r
</div>\r
</div>\r
</body>\r
[--cacheinfo <mode> <object> <file>]\*
[--chmod=(+|-)x]
[--assume-unchanged | --no-assume-unchanged]
- [--really-refresh] [--unresolve]
+ [--really-refresh] [--unresolve] [--again]
[--info-only] [--index-info]
[-z] [--stdin]
[--verbose]
filesystem that has very slow lstat(2) system call
(e.g. cifs).
+--again::
+ Runs `git-update-index` itself on the paths whose index
+ entries are different from those from the `HEAD` commit.
+
--unresolve::
Restores the 'unmerged' or 'needs updating' state of a
file during a merge if it was cleared by accident.