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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
39464667
Commit
39464667
authored
Oct 31, 2014
by
Robert Schilling
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8211 from cirosantilli/rake-import-style
Fix doc rake import md style [ci-skip]
parents
7371c9e2
884e916f
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 @
39464667
# Import bare repositories into your GitLab instance
# Import bare repositories into your GitLab instance
##
# Notes:
##
Notes
-
The owner of the project will be the first admin
-
The owner of the project will be the first admin
-
The groups will be created as needed
-
The groups will be created as needed
-
The owner of the group will be the first admin
-
The owner of the group will be the first admin
-
Existing projects will be skipped
-
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.
### 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.
...
@@ -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
-
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.
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:
### Copy your bare repositories inside this newly created folder:
```
```
...
@@ -40,7 +39,7 @@ $ cd /home/git/gitlab
...
@@ -40,7 +39,7 @@ $ cd /home/git/gitlab
$ sudo -u git -H bundle exec rake gitlab:import:repos RAILS_ENV=production
$ sudo -u git -H bundle exec rake gitlab:import:repos RAILS_ENV=production
```
```
#### Example output
:
#### Example output
```
```
Processing abcd.git
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