diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-05 21:13:21 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-05 21:13:21 -0800 |
commit | 076ffcc834f02a4f11d7f4fe8825be3b065020ff (patch) | |
tree | 6f5fa28df80c60c9b0a1dfab028d3db33ae22fa0 /git-clean.txt | |
parent | 3f2ed6f9b744f05cf2ad32b0c0c80aa149d9fdcb (diff) | |
download | git-htmldocs-076ffcc834f02a4f11d7f4fe8825be3b065020ff.tar.gz |
Autogenerated HTML docs for v1.8.1.2-545-g2f19ad
Diffstat (limited to 'git-clean.txt')
-rw-r--r-- | git-clean.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-clean.txt b/git-clean.txt index 9f42c0d0e..bdc3ab80c 100644 --- a/git-clean.txt +++ b/git-clean.txt @@ -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,7 +60,7 @@ 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 |