Merge branch 'maint'
[gitweb.git] / Documentation / git-clean.txt
index 79fb9841441d02cd635dcdd2aecef42d38c6b59d..bdc3ab80c7990f569efecc2bacbc31d15b0357f2 100644 (file)
@@ -16,7 +16,7 @@ DESCRIPTION
 Cleans the working tree by recursively removing files that are not
 under version control, starting from the current directory.
 
-Normally, only files unknown to git are removed, but if the '-x'
+Normally, only files unknown to Git are removed, but if the '-x'
 option is specified, ignored files are also removed. This can, for
 example, be useful to remove all build products.
 
@@ -27,13 +27,13 @@ OPTIONS
 -------
 -d::
        Remove untracked directories in addition to untracked files.
-       If an untracked directory is managed by a different git
+       If an untracked directory is managed by a different Git
        repository, it is not removed by default.  Use -f option twice
        if you really want to remove such a directory.
 
 -f::
 --force::
-       If the git configuration variable clean.requireForce is not set
+       If the Git configuration variable clean.requireForce is not set
        to false, 'git clean' will refuse to run unless given -f or -n.
 
 -n::
@@ -60,9 +60,13 @@ OPTIONS
        working directory to test a clean build.
 
 -X::
-       Remove only files ignored by git.  This may be useful to rebuild
+       Remove only files ignored by Git.  This may be useful to rebuild
        everything from scratch, but keep manually created files.
 
+SEE ALSO
+--------
+linkgit:gitignore[5]
+
 GIT
 ---
 Part of the linkgit:git[1] suite