summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-02 09:29:40 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-02 09:29:40 +0200
commit58b46cbcf606882b5cd9ee581c3fd95871e0d766 (patch)
treeef4f34598df71b115395091b22cfb75b0a8def2f
parent970d86b7c5d0be871d8ab8d7cbd51997fd62e28a (diff)
downloadgitlab-ce-58b46cbcf606882b5cd9ee581c3fd95871e0d766.tar.gz
Add -H to sudo commands in 4.1-to-4.2.md
-rw-r--r--doc/update/4.1-to-4.2.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/update/4.1-to-4.2.md b/doc/update/4.1-to-4.2.md
index 536f22415e2..3aaf17b7727 100644
--- a/doc/update/4.1-to-4.2.md
+++ b/doc/update/4.1-to-4.2.md
@@ -12,15 +12,15 @@
cd /home/gitlab/gitlab/
# Get latest code
-sudo -u gitlab git fetch
+sudo -u gitlab -H git fetch
-sudo -u gitlab git checkout 4-2-stable
+sudo -u gitlab -H git checkout 4-2-stable
# Install libs
-sudo -u gitlab bundle install --without development test postgres --deployment
+sudo -u gitlab -H bundle install --without development test postgres --deployment
# update db
-sudo -u gitlab bundle exec rake db:migrate RAILS_ENV=production
+sudo -u gitlab -H bundle exec rake db:migrate RAILS_ENV=production
```