Do a git checkout on Gemfile.lock and schema.rb prior to update. Fixes #2227

This commit is contained in:
Achilleas Pipinellis 2015-08-07 22:13:18 +03:00
parent 59c486dcc1
commit 8ab6bd3eb3
1 changed files with 1 additions and 0 deletions

View File

@ -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
```