summaryrefslogtreecommitdiff
path: root/doc/raketasks
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2019-09-10 10:15:43 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-09-10 10:15:43 +0000
commit78d09e3ef3df117499c172604bfa2ff51d21351d (patch)
treef550a77a80cdaea9fea994d4152f041d808acdf1 /doc/raketasks
parenta52dbbbc5335a8ff35eb6b171eea5f019b6c7138 (diff)
downloadgitlab-ce-78d09e3ef3df117499c172604bfa2ff51d21351d.tar.gz
Start linting for unneeded dollar signs
Do not use dollar signs in shell codeblocks when no output is shown
Diffstat (limited to 'doc/raketasks')
-rw-r--r--doc/raketasks/import.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/raketasks/import.md b/doc/raketasks/import.md
index d93e7241fda..326f7e4b982 100644
--- a/doc/raketasks/import.md
+++ b/doc/raketasks/import.md
@@ -42,17 +42,17 @@ If you are using an installation from source, replace `/var/opt/gitlab/` with `/
#### Omnibus Installation
-```
-$ sudo gitlab-rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-<date>']
+```sh
+sudo gitlab-rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-<date>']
```
#### Installation from source
Before running this command you need to change the directory to where your GitLab installation is located:
-```
-$ cd /home/git/gitlab
-$ sudo -u git -H bundle exec rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-<date>'] RAILS_ENV=production
+```sh
+cd /home/git/gitlab
+sudo -u git -H bundle exec rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-<date>'] RAILS_ENV=production
```
#### Example output