[PATCH] Documentation/git-clean: Document --force --force

Subsystems: documentation, the rest

STALE3720d

2 messages, 1 author, 2016-06-15 · open the first message on its own page

[PATCH] Documentation/git-clean: Document --force --force

From: Soren Brinkmann <hidden>
Date: 2016-06-15 22:55:31

This patch documents the behavior of 'git clean' when
encountering nested git repositories.
Such repositories are only deleted if '-f' is passed twice
to 'git clean'.

Signed-off-by: Soren Brinkmann <redacted>
---
 Documentation/git-clean.txt | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 9f42c0d..0b31454 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt
@@ -23,6 +23,9 @@ example, be useful to remove all build products.
 If any optional `<path>...` arguments are given, only those paths
 are affected.
 
+Nested git repositories are not removed unless the '-f' option is
+passed to 'git clean' twice.
+
 OPTIONS
 -------
 -d::
@@ -35,6 +38,8 @@ OPTIONS
 --force::
 	If the git configuration variable clean.requireForce is not set
 	to false, 'git clean' will refuse to run unless given -f or -n.
+	Pass this option twice to 'git clean' in order to also remove
+	nested git repositories.
 
 -n::
 --dry-run::
-- 
1.8.0.2

Re: [PATCH] Documentation/git-clean: Document --force --force

From: Soren Brinkmann <hidden>
Date: 2016-06-15 22:55:34

Ping?

On Thu, Dec 13, 2012 at 05:46:55PM -0800, Soren Brinkmann wrote:
quoted hunk
This patch documents the behavior of 'git clean' when
encountering nested git repositories.
Such repositories are only deleted if '-f' is passed twice
to 'git clean'.

Signed-off-by: Soren Brinkmann <redacted>
---
 Documentation/git-clean.txt | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 9f42c0d..0b31454 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/git-clean.txt
@@ -23,6 +23,9 @@ example, be useful to remove all build products.
 If any optional `<path>...` arguments are given, only those paths
 are affected.
 
+Nested git repositories are not removed unless the '-f' option is
+passed to 'git clean' twice.
+
 OPTIONS
 -------
 -d::
@@ -35,6 +38,8 @@ OPTIONS
 --force::
 	If the git configuration variable clean.requireForce is not set
 	to false, 'git clean' will refuse to run unless given -f or -n.
+	Pass this option twice to 'git clean' in order to also remove
+	nested git repositories.
 
 -n::
 --dry-run::
-- 
1.8.0.2


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help