diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 9ce324fa77..3451dfc02a 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -219,6 +219,7 @@ class Test git 'stash' git 'am --abort 2>/dev/null' git 'rebase --abort 2>/dev/null' + git 'checkout -f master' git 'reset --hard' git 'clean --force -dx' end