git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation/git-clean.txt: fix -f, -x

From
WGWłodzimierz Gajda <wlodzimierz.gajda@gmail.com>
Date
Oct 2, 2013, 07:32 UTC
Message-ID
<1380699140-3548-1-git-send-email-gajdaw@gajdaw.pl>
Change -f into `-f`, -x into `-x`, etc.
Signed-off-by: Włodzimierz Gajda <gajdaw@gajdaw.pl>
---
 Documentation/git-clean.txt | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt
index 8997922..b8d3486 100644
--- a/Documentation/git-clean.txt
+++ b/Documentation/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.
 
@@ -28,14 +28,14 @@ OPTIONS
 -d::
 	Remove untracked directories in addition to untracked files.
 	If an untracked directory is managed by a different Git
-	repository, it is not removed by default.  Use -f option twice
+	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
-	to false, 'git clean' will refuse to run unless given -f, -n or
-	-i.
+	If the Git configuration variable `clean.requireForce` is not set
+	to false, `git clean` will refuse to run unless given `-f`, `-n` or
+	`-i`.
 
 -i::
 --interactive::
@@ -53,16 +53,16 @@ OPTIONS
 
 -e <pattern>::
 --exclude=<pattern>::
-	In addition to those found in .gitignore (per directory) and
-	$GIT_DIR/info/exclude, also consider these patterns to be in the
+	In addition to those found in `.gitignore` (per directory) and
+	`$GIT_DIR/info/exclude`, also consider these patterns to be in the
 	set of the ignore rules in effect.
 
 -x::
-	Don't use the standard ignore rules read from .gitignore (per
-	directory) and $GIT_DIR/info/exclude, but do still use the ignore
+	Don't use the standard ignore rules read from `.gitignore` (per
+	directory) and `$GIT_DIR/info/exclude`, but do still use the ignore
 	rules given with `-e` options.  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 reset`) to create a pristine
 	working directory to test a clean build.
 
 -X::
-- 
1.8.3.msysgit.0
Message 1 of 1 in “Documentation/git-clean.txt: fix -f, -x”
  1. Documentation/git-clean.txt: fix -f, -xWłodzimierz Gajda, Oct 2, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.