]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-clean.txt
Merge branch 'bc/smart-http-atomic-push'
[thirdparty/git.git] / Documentation / git-clean.txt
index 3ab749b92136465cf1290c5b4ae51d7f6dfb0645..a7f309dff5a327ba14b38b63b931060582c53c28 100644 (file)
@@ -37,9 +37,9 @@ OPTIONS
 --force::
        If the Git configuration variable clean.requireForce is not set
        to false, 'git clean' will refuse to delete files or directories
-       unless given -f or -i. Git will refuse to delete directories
-       with .git sub directory or file unless a second -f
-       is given.
+       unless given -f or -i.  Git will refuse to modify untracked
+       nested git repositories (directories with a .git subdirectory)
+       unless a second -f is given.
 
 -i::
 --interactive::
@@ -65,7 +65,7 @@ OPTIONS
        still use the ignore rules given with `-e` options from the command
        line.  This allows removing all untracked
        files, including build products.  This can be used (possibly in
-       conjunction with 'git reset') to create a pristine
+       conjunction with 'git restore' or 'git reset') to create a pristine
        working directory to test a clean build.
 
 -X::