diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-26 10:12:58 +0200 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-06-27 15:09:14 +0200 |
commit | 897367fb35ab33d961b97bc3150a4536547e382a (patch) | |
tree | 2f67f04ec415b8320ef5aa56260142f06b2230dd | |
parent | 525bf9fab2e824389fbaae38d6f811e313ba3c13 (diff) | |
download | gitlab-ce-docs/gitlab-basics-community-contribution.tar.gz |
Use alert notesdocs/gitlab-basics-community-contribution
-rw-r--r-- | doc/gitlab-basics/command-line-commands.md | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/doc/gitlab-basics/command-line-commands.md b/doc/gitlab-basics/command-line-commands.md index 19a9b6366ea..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,20 +88,22 @@ cat README.md ### Remove a file +DANGER: **Danger:** +This will permanently delete the file. + ``` rm NAME-OF-FILE ``` ->**Note:** This will permanently delete the 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 ``` ->**Note:** This will permanently delete the directory and all of its contents. - ### View command history ``` @@ -120,7 +124,9 @@ You will be asked for an administrator’s password. sudo COMMAND ``` ->**Note:** Please be careful of the commands you run with `sudo`. Certain commands may cause damage to your data and system. +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 |