Commit ac88d51225c9e681933502d00e4fd128e86fcc0c

Authored by crazyscience
Committed by Brandon Patton
1 parent 78ff99a7

Setting the working directory before git operations

doc/update/4.0-to-4.1.md
@@ -16,6 +16,8 @@ @@ -16,6 +16,8 @@
16 ### 2. Update GitLab 16 ### 2. Update GitLab
17 17
18 ```bash 18 ```bash
  19 +# Set the working directory
  20 +cd /home/gitlab/gitlab/
19 21
20 # Get latest code 22 # Get latest code
21 sudo -u gitlab -H git fetch 23 sudo -u gitlab -H git fetch
doc/update/4.1-to-4.2.md
@@ -7,6 +7,10 @@ @@ -7,6 +7,10 @@
7 ### 2. Update code & db 7 ### 2. Update code & db
8 8
9 ```bash 9 ```bash
  10 +
  11 +#Set the working directory
  12 +cd /home/gitlab/gitlab/
  13 +
10 # Get latest code 14 # Get latest code
11 sudo -u gitlab git fetch 15 sudo -u gitlab git fetch
12 16
doc/update/4.2-to-5.0.md
@@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git @@ -19,6 +19,7 @@ sudo chsh -s /bin/bash git
19 __2. git clone gitlab-shell__ 19 __2. git clone gitlab-shell__
20 20
21 ``` 21 ```
  22 +cd /home/git/
22 sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell 23 sudo -u git -H git clone https://github.com/gitlabhq/gitlab-shell.git /home/git/gitlab-shell
23 ``` 24 ```
24 25