summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <marcia@gitlab.com>2019-06-27 17:53:49 +0000
committerMarcia Ramos <marcia@gitlab.com>2019-06-27 17:53:49 +0000
commit2956cadd00793a3b1edbcd18ab24f3172c8227f3 (patch)
tree0dd07279b87bd4542176dc0469b17c0e97f61619
parent7a6a8633f0d842afed109952f26ac1b17e78e7c8 (diff)
parent84eb286a0bea98552693b702e8212e81236b1bf2 (diff)
downloadgitlab-ce-2956cadd00793a3b1edbcd18ab24f3172c8227f3.tar.gz
Merge branch 'docs/gitlab-basics-community-contribution' into 'master'
Add alerts to GitLab basics See merge request gitlab-org/gitlab-ce!30071
-rw-r--r--doc/gitlab-basics/command-line-commands.md16
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/gitlab-basics/command-line-commands.md b/doc/gitlab-basics/command-line-commands.md
index 1cf883679d7..b7e6844f43a 100644
--- a/doc/gitlab-basics/command-line-commands.md
+++ b/doc/gitlab-basics/command-line-commands.md
@@ -29,7 +29,9 @@ git clone PASTE HTTPS OR SSH HERE
A clone of the project will be created in your computer.
->**Note:** If you clone your project via a URL that contains special characters, make sure that characters are URL-encoded.
+NOTE: **Note:**
+If you clone your project via a URL that contains special characters, make sure
+that characters are URL-encoded.
### Go into a project directory to work in it
@@ -86,12 +88,18 @@ cat README.md
### Remove a file
+DANGER: **Danger:**
+This will permanently delete the file.
+
```
rm NAME-OF-FILE
```
### Remove a directory and all of its contents
+DANGER: **Danger:**
+This will permanently delete the directory and all of its contents.
+
```
rm -r NAME-OF-DIRECTORY
```
@@ -113,9 +121,13 @@ history
You will be asked for an administrator’s password.
```
-sudo
+sudo COMMAND
```
+CAUTION: **Caution:**
+Be careful of the commands you run with `sudo`. Certain commands may cause
+damage to your data and system.
+
### Show which directory I am in
```