BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
addb2555
Commit
addb2555
authored
Jan 26, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate out the instructions for source installs
parent
c68742ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
import.md
doc/raketasks/import.md
+6
-4
No files found.
doc/raketasks/import.md
View file @
addb2555
...
@@ -19,16 +19,15 @@ your repositories are located by looking at `config/gitlab.yml` under the `gitla
...
@@ -19,16 +19,15 @@ your repositories are located by looking at `config/gitlab.yml` under the `gitla
New folder needs to have git user ownership and read/write/execute access for git user and its group:
New folder needs to have git user ownership and read/write/execute access for git user and its group:
```
```
# Replace /var/opt/gitlab/git-data with /home/git if you are using an
# installation from source.
sudo -u git mkdir /var/opt/gitlab/git-data/repositories/new_group
sudo -u git mkdir /var/opt/gitlab/git-data/repositories/new_group
```
```
If you are using an installation from source, replace
`/var/opt/gitlab/git-data`
with
`/home/git`
.
### Copy your bare repositories inside this newly created folder:
### Copy your bare repositories inside this newly created folder:
```
```
# Replace /var/opt/gitlab/git-data with /home/git if you are using an
# installation from source.
sudo cp -r /old/git/foo.git /var/opt/gitlab/git-data/repositories/new_group/
sudo cp -r /old/git/foo.git /var/opt/gitlab/git-data/repositories/new_group/
# Do this once when you are done copying git repositories
# Do this once when you are done copying git repositories
...
@@ -37,6 +36,9 @@ sudo chown -R git:git /var/opt/gitlab/git-data/repositories/new_group/
...
@@ -37,6 +36,9 @@ sudo chown -R git:git /var/opt/gitlab/git-data/repositories/new_group/
`foo.git`
needs to be owned by the git user and git users group.
`foo.git`
needs to be owned by the git user and git users group.
If you are using an installation from source, replace
`/var/opt/gitlab/git-data`
with
`/home/git`
.
### Run the command below depending on your type of installation:
### Run the command below depending on your type of installation:
#### Omnibus Installation
#### Omnibus Installation
...
...
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