Skip to content
Snippets Groups Projects
Commit 74856d41 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'import-doc' into 'master'

Import Doc
parents 88ebeb92 2ddfa882
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,12 +2,12 @@ namespace :gitlab do
namespace :import do
# How to use:
#
# 1. copy your bare repos under git repos_path
# 2. run bundle exec rake gitlab:import:repos RAILS_ENV=production
# 1. copy the bare repos under the repos_path (commonly /home/git/repositories)
# 2. run: bundle exec rake gitlab:import:repos RAILS_ENV=production
#
# Notes:
# * project owner will be a first admin
# * existing projects will be skipped
# * The project owner will set to the first administator of the system
# * Existing projects will be skipped
#
desc "GITLAB | Import bare repositories from gitlab_shell -> repos_path into GitLab project instance"
task repos: :environment do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment