Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Werberich <elias@werberich.de>2018-03-27 17:12:20 +0300
committerElias Werberich <elias@werberich.de>2018-03-28 00:19:18 +0300
commit92f1f67877e7eee375f911f27df9517ec55d6cca (patch)
tree922032be8b58b757c93058234293764476410f6c
parent092445a4025bc1033e2028655ba739961f5e4ebb (diff)
Do not use '-f' with 'rm' in gitlab-basics docs
-rw-r--r--changelogs/no-rm-rf-gitlab-basics.yml5
-rw-r--r--doc/gitlab-basics/command-line-commands.md2
2 files changed, 6 insertions, 1 deletions
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