summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-07 23:18:39 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-07 23:18:39 -0700
commita87f5c60a4552b8be5f7d5f9de3b4cda20ec648a (patch)
tree72c551151325912be3923d33a74909525b937cd6 /doc
parent4604b67bda32b8bbffdfb4802ad9f768db32b92f (diff)
parentac88d51225c9e681933502d00e4fd128e86fcc0c (diff)
downloadgitlab-ce-a87f5c60a4552b8be5f7d5f9de3b4cda20ec648a.tar.gz
Merge pull request #3862 from crazyscience/patch-3
Setting the working directory before git operations
Diffstat (limited to 'doc')
-rw-r--r--doc/update/4.0-to-4.1.md2
-rw-r--r--doc/update/4.1-to-4.2.md4
-rw-r--r--doc/update/4.2-to-5.0.md1
3 files changed, 7 insertions, 0 deletions
diff --git a/doc/update/4.0-to-4.1.md b/doc/update/4.0-to-4.1.md
index 368351d0c91..aa8a305a7ce 100644
--- a/doc/update/4.0-to-4.1.md
+++ b/doc/update/4.0-to-4.1.md
@@ -16,6 +16,8 @@
### 2. Update GitLab
```bash
+# Set the working directory
+cd /home/gitlab/gitlab/
# Get latest code
sudo -u gitlab -H git fetch
diff --git a/doc/update/4.1-to-4.2.md b/doc/update/4.1-to-4.2.md
index 15fea593560..536f22415e2 100644
--- a/doc/update/4.1-to-4.2.md
+++ b/doc/update/4.1-to-4.2.md
@@ -7,6 +7,10 @@
### 2. Update code & db
```bash
+
+#Set the working directory
+cd /home/gitlab/gitlab/
+
# Get latest code
sudo -u gitlab git fetch
diff --git a/doc/update/4.2-to-5.0.md b/doc/update/4.2-to-5.0.md
index 408e4ed3d0f..60d37931ec9 100644
--- a/doc/update/4.2-to-5.0.md
+++ b/doc/update/4.2-to-5.0.md
@@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git
__2. git clone gitlab-shell__
```
+cd /home/git/
sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell
```