From 92f1f67877e7eee375f911f27df9517ec55d6cca Mon Sep 17 00:00:00 2001 From: Elias Werberich Date: Tue, 27 Mar 2018 14:12:20 +0000 Subject: [PATCH] Do not use '-f' with 'rm' in gitlab-basics docs --- changelogs/no-rm-rf-gitlab-basics.yml | 5 +++++ doc/gitlab-basics/command-line-commands.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelogs/no-rm-rf-gitlab-basics.yml diff --git a/changelogs/no-rm-rf-gitlab-basics.yml b/changelogs/no-rm-rf-gitlab-basics.yml new file mode 100644 index 00000000000..d5aa1091b45 --- /dev/null +++ b/changelogs/no-rm-rf-gitlab-basics.yml @@ -0,0 +1,5 @@ +--- + title: Do not use '-f' with 'rm' in gitlab-basics docs + merge_request: 18027 + author: Elias Werberich + type: changed diff --git a/doc/gitlab-basics/command-line-commands.md b/doc/gitlab-basics/command-line-commands.md index 2a531193adf..c9766040234 100644 --- a/doc/gitlab-basics/command-line-commands.md +++ b/doc/gitlab-basics/command-line-commands.md @@ -71,7 +71,7 @@ rm NAME-OF-FILE ### Remove a directory and all of its contents ``` -rm -rf NAME-OF-DIRECTORY +rm -r NAME-OF-DIRECTORY ``` ### View history in the command line