mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-28 05:56:37 +10:00
Merge pull request #5013 from clayzermk1/master
Import Bare Repositories instructions/description are incorrect
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user