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
Tatuya Kamada
gitlab-ce
Commits
884e916f
Commit
884e916f
authored
Oct 31, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix doc rake import md style [ci-skip]
parent
7371c9e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
doc/raketasks/import.md
doc/raketasks/import.md
+3
-4
No files found.
doc/raketasks/import.md
View file @
884e916f
# Import bare repositories into your GitLab instance
##
# Notes:
##
Notes
-
The owner of the project will be the first admin
-
The groups will be created as needed
-
The owner of the group will be the first admin
-
Existing projects will be skipped
## How to use
:
## How to use
### Create a new folder inside the git repositories path. This will be the name of the new group.
...
...
@@ -16,7 +16,6 @@ it in the `/etc/gitlab/gitlab.rb` file.
-
For manual installations, it is usually located at:
`/home/git/repositories`
or you can see where
your repositories are located by looking at
`config/gitlab.yml`
under the
`gitlab_shell => repos_path`
entry.
### Copy your bare repositories inside this newly created folder:
```
...
...
@@ -40,7 +39,7 @@ $ cd /home/git/gitlab
$ sudo -u git -H bundle exec rake gitlab:import:repos RAILS_ENV=production
```
#### Example output
:
#### Example output
```
Processing abcd.git
...
...
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