Commit e6ca3a58 authored by Job van der Voort's avatar Job van der Voort

Merge branch 'update_import_doc' into 'master'

Update import doc

Documentation update for #1900

See merge request !1405
parents acc33668 99647a1b
...@@ -16,12 +16,22 @@ it in the `/etc/gitlab/gitlab.rb` file. ...@@ -16,12 +16,22 @@ 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.
New folder needs to have git user ownership and read/write/execute access for git user and its group:
```
$ mkdir new_group
$ chown git:git new_group
$ chmod 770 new_group
```
### Copy your bare repositories inside this newly created folder: ### Copy your bare repositories inside this newly created folder:
``` ```
$ cp -r /old/git/foo.git/ /home/git/repositories/new_group/ $ cp -r /old/git/foo.git/ /home/git/repositories/new_group/
``` ```
`foo.git` needs to be owned by the git user and git users group.
### Run the command below depending on your type of installation: ### Run the command below depending on your type of installation:
#### Omnibus Installation #### Omnibus Installation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment