Change -f into `-f`, -x into `-x`, etc. Signed-off-by: Włodzimierz Gajda <gajdaw@xxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html