summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Lund <john.lund@ge.com>2019-05-22 19:28:41 +0000
committerJohn Lund <john.lund@ge.com>2019-05-22 19:28:41 +0000
commit10ff5ca77ef1a31d8f814dfc77b47df78484c0a1 (patch)
tree26fa988f2c4a142de4e0be5b20386ec86c39927f
parent20375f811a6ffa35568d70b97a3793b97231d0dd (diff)
downloadgitlab-ce-10ff5ca77ef1a31d8f814dfc77b47df78484c0a1.tar.gz
Update import.md - if repository-import-<date> parent directory DNE, then mkdir will fail for new_group. -p option is necessary to create missing parent directories.
-rw-r--r--doc/raketasks/import.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/raketasks/import.md b/doc/raketasks/import.md
index bb316df5b9a..b59c06a24ea 100644
--- a/doc/raketasks/import.md
+++ b/doc/raketasks/import.md
@@ -16,7 +16,7 @@
The new folder needs to have git user ownership and read/write/execute access for git user and its group:
```
-sudo -u git mkdir /var/opt/gitlab/git-data/repository-import-<date>/new_group
+sudo -u git mkdir -p /var/opt/gitlab/git-data/repository-import-<date>/new_group
```
### Copy your bare repositories inside this newly created folder: