Commit 71d31a38 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge pull request #5013 from clayzermk1/master

Import Bare Repositories instructions/description are incorrect
parents 201158f1 24bc3e08
......@@ -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
```
......
......@@ -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
......
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