diff options
author | crazyscience <brandon.patton@gmail.com> | 2013-05-06 19:12:02 -0700 |
---|---|---|
committer | Brandon Patton <brandon.patton@gmail.com> | 2013-05-07 18:28:47 -0700 |
commit | ac88d51225c9e681933502d00e4fd128e86fcc0c (patch) | |
tree | adf5c2074e7924fbab68e47e24a87cd0c4c63b47 /doc | |
parent | 78ff99a7a3eb9d2721e76fc3a66a1e4006ebdd00 (diff) | |
download | gitlab-ce-ac88d51225c9e681933502d00e4fd128e86fcc0c.tar.gz |
Setting the working directory before git operations
Diffstat (limited to 'doc')
-rw-r--r-- | doc/update/4.0-to-4.1.md | 2 | ||||
-rw-r--r-- | doc/update/4.1-to-4.2.md | 4 | ||||
-rw-r--r-- | doc/update/4.2-to-5.0.md | 1 |
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 ``` |