diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-02 09:29:40 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2013-10-02 09:29:40 +0200 |
commit | 58b46cbcf606882b5cd9ee581c3fd95871e0d766 (patch) | |
tree | ef4f34598df71b115395091b22cfb75b0a8def2f | |
parent | 970d86b7c5d0be871d8ab8d7cbd51997fd62e28a (diff) | |
download | gitlab-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.md | 8 |
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 ``` |