diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-03-14 14:22:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-14 14:22:57 -0700 |
commit | 71fdb9c0761c0975be3227fd10216305a55e9603 (patch) | |
tree | ef2ae82ed5b29567ec19210eb1ab2c2ba06d75ee /git-clean.txt | |
parent | b47d9c841ffcd228bc7f676414b2e7086beb1550 (diff) | |
download | git-htmldocs-71fdb9c0761c0975be3227fd10216305a55e9603.tar.gz |
Autogenerated HTML docs for v2.44.0-248-g4f9b7
Diffstat (limited to 'git-clean.txt')
-rw-r--r-- | git-clean.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/git-clean.txt b/git-clean.txt index 69331e3f0..fd1716541 100644 --- a/git-clean.txt +++ b/git-clean.txt @@ -37,7 +37,7 @@ 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 modify untracked + unless given -f. Git will refuse to modify untracked nested git repositories (directories with a .git subdirectory) unless a second -f is given. @@ -45,10 +45,14 @@ OPTIONS --interactive:: Show what would be done and clean files interactively. See ``Interactive mode'' for details. + Configuration variable `clean.requireForce` is ignored, as + this mode gives its own safety protection by going interactive. -n:: --dry-run:: Don't actually remove anything, just show what would be done. + Configuration variable `clean.requireForce` is ignored, as + nothing will be deleted anyway. -q:: --quiet:: |