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