diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md index 68c1a72b23..3033d8c46b 100644 --- a/doc/raketasks/maintenance.md +++ b/doc/raketasks/maintenance.md @@ -122,7 +122,7 @@ Notes: How to use: -1. copy your bare repos under git base_path (see `config/gitlab.yml` git_host -> base_path) +1. copy your bare repos under git repos_path (see `config/gitlab.yml` gitlab_shell -> repos_path) 2. run the command below ``` diff --git a/lib/tasks/gitlab/import.rake b/lib/tasks/gitlab/import.rake index 668ef1d230..8fa8927085 100644 --- a/lib/tasks/gitlab/import.rake +++ b/lib/tasks/gitlab/import.rake @@ -2,14 +2,14 @@ namespace :gitlab do namespace :import do # How to use: # - # 1. copy your bare repos under git base_path + # 1. copy your bare repos under git repos_path # 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production # # Notes: # * project owner will be a first admin # * existing projects will be skipped # - desc "GITLAB | Import bare repositories from git_host -> base_path into GitLab project instance" + desc "GITLAB | Import bare repositories from gitlab_shell -> repos_path into GitLab project instance" task repos: :environment do git_base_path = Gitlab.config.gitlab_shell.repos_path