Commit b3cc4a87 authored by Gabriel Yoachum's avatar Gabriel Yoachum

fix examples for rake import commands

parent 2656e78f
...@@ -58,7 +58,7 @@ To import bare repositories into a GitLab instance: ...@@ -58,7 +58,7 @@ To import bare repositories into a GitLab instance:
- Omnibus Installation - Omnibus Installation
```shell ```shell
sudo gitlab-rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-$(date "+%Y-%m-%d")'] sudo gitlab-rake gitlab:import:repos["/var/opt/gitlab/git-data/repository-import-$(date "+%Y-%m-%d")"]
``` ```
- Installation from source. Before running this command you need to change to the directory where - Installation from source. Before running this command you need to change to the directory where
...@@ -66,7 +66,7 @@ To import bare repositories into a GitLab instance: ...@@ -66,7 +66,7 @@ To import bare repositories into a GitLab instance:
```shell ```shell
cd /home/git/gitlab cd /home/git/gitlab
sudo -u git -H bundle exec rake gitlab:import:repos['/var/opt/gitlab/git-data/repository-import-$(date "+%Y-%m-%d")'] RAILS_ENV=production sudo -u git -H bundle exec rake gitlab:import:repos["/var/opt/gitlab/git-data/repository-import-$(date "+%Y-%m-%d")"] RAILS_ENV=production
``` ```
## Example output ## Example output
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment