Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
74856d41
Commit
74856d41
authored
Jan 20, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'import-doc' into 'master'
Import Doc
parents
88ebeb92
2ddfa882
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lib/tasks/gitlab/import.rake
lib/tasks/gitlab/import.rake
+4
-4
No files found.
lib/tasks/gitlab/import.rake
View file @
74856d41
...
...
@@ -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
# *
e
xisting projects will be skipped
# *
The project owner will set to the first administator of the system
# *
E
xisting projects will be skipped
#
desc
"GITLAB | Import bare repositories from gitlab_shell -> repos_path into GitLab project instance"
task
repos: :environment
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment