diff --git a/doc/update/6.0-to-6.1.md b/doc/update/6.0-to-6.1.md index da69aa60dd..cce129f993 100644 --- a/doc/update/6.0-to-6.1.md +++ b/doc/update/6.0-to-6.1.md @@ -27,7 +27,20 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production ```bash cd /home/git/gitlab -sudo -u git -H git fetch +sudo -u git -H git fetch --all +``` + +For Gitlab Community Edition: + +```bash +sudo -u git -H git checkout 6-1-stable +``` + +OR + +For GitLab Enterprise Edition: + +```bash sudo -u git -H git checkout 6-1-stable-ee ``` diff --git a/doc/update/6.0-to-6.5.md b/doc/update/6.0-to-6.5.md index e01cc589a8..1c562976de 100644 --- a/doc/update/6.0-to-6.5.md +++ b/doc/update/6.0-to-6.5.md @@ -28,8 +28,20 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production ```bash cd /home/git/gitlab sudo -u git -H git fetch --all +``` + +For Gitlab Community Edition: + +```bash sudo -u git -H git checkout 6-5-stable -# For GitLab Enterprise Edition: sudo -u git -H git checkout 6-5-stable-ee +``` + +OR + +For GitLab Enterprise Edition: + +```bash +sudo -u git -H git checkout 6-5-stable-ee ``` diff --git a/doc/update/6.1-to-6.2.md b/doc/update/6.1-to-6.2.md index 8c51d1cd3a..ae44b71e74 100644 --- a/doc/update/6.1-to-6.2.md +++ b/doc/update/6.1-to-6.2.md @@ -20,9 +20,23 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production ```bash cd /home/git/gitlab -sudo -u git -H git fetch +sudo -u git -H git fetch --all +``` + +For Gitlab Community Edition: + +```bash +sudo -u git -H git checkout 6-2-stable +``` + +OR + +For GitLab Enterprise Edition: + +```bash sudo -u git -H git checkout 6-2-stable-ee ``` +`` ### 3. Install additional packages diff --git a/doc/update/6.2-to-6.3.md b/doc/update/6.2-to-6.3.md index 2272ae8e1a..b56dc8d9d0 100644 --- a/doc/update/6.2-to-6.3.md +++ b/doc/update/6.2-to-6.3.md @@ -20,10 +20,24 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production ```bash cd /home/git/gitlab -sudo -u git -H git fetch +sudo -u git -H git fetch --all +``` + +For Gitlab Community Edition: + +```bash sudo -u git -H git checkout 6-3-stable ``` +OR + +For GitLab Enterprise Edition: + +```bash +sudo -u git -H git checkout 6-3-stable-ee +``` + + ### 3. Update gitlab-shell (and its config) ```bash diff --git a/doc/update/6.3-to-6.4.md b/doc/update/6.3-to-6.4.md index f7c363f8d7..3b7f7bc140 100644 --- a/doc/update/6.3-to-6.4.md +++ b/doc/update/6.3-to-6.4.md @@ -15,10 +15,24 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production ```bash cd /home/git/gitlab -sudo -u git -H git fetch +sudo -u git -H git fetch --all +``` + +For Gitlab Community Edition: + +```bash sudo -u git -H git checkout 6-4-stable ``` +OR + +For GitLab Enterprise Edition: + +```bash +sudo -u git -H git checkout 6-4-stable-ee +``` + + ### 3. Update gitlab-shell (and its config) ```bash