summaryrefslogtreecommitdiff
path: root/doc/gitlab-basics
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2019-07-03 11:55:56 +0200
committerMarin Jankovski <maxlazio@gmail.com>2019-07-03 11:55:56 +0200
commitc20c9e2940b0f94547246d05b7b526f0b1571027 (patch)
treec548960a37ab7447ff542e0844e838f973c118fb /doc/gitlab-basics
parent49d689fb3c7781c861f995aaafef4b224581020b (diff)
parent2ca9bda400c0ed647c3ef342dcc0aa56c558cebe (diff)
downloadgitlab-ce-c20c9e2940b0f94547246d05b7b526f0b1571027.tar.gz
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
Diffstat (limited to 'doc/gitlab-basics')
-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
```