From 8ab6bd3eb3b49c6ca557b3053105de81af31ca51 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Fri, 7 Aug 2015 22:13:18 +0300 Subject: [PATCH] Do a git checkout on Gemfile.lock and schema.rb prior to update. Fixes #2227 --- doc/update/patch_versions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md index e29ee2a7b3d..22b9be059d6 100644 --- a/doc/update/patch_versions.md +++ b/doc/update/patch_versions.md @@ -22,6 +22,7 @@ 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 +sudo -u git -H git checkout -- Gemfile.lock db/schema.rb sudo -u git -H git checkout LATEST_TAG ```