diff --git a/script/docker_test.rb b/script/docker_test.rb index a8f3a1cf45f..4276d6512fa 100644 --- a/script/docker_test.rb +++ b/script/docker_test.rb @@ -16,6 +16,7 @@ end unless ENV['NO_UPDATE'] puts "travis_fold:start:pulling_latest_discourse" if ENV["TRAVIS"] + run_or_fail("git reset --hard") run_or_fail("git pull") checkout = ENV['COMMIT_HASH'] || "HEAD"