diff --git a/dev/airflow-pr b/dev/airflow-pr index dab954062b8dd..8dd8df72b1a3c 100755 --- a/dev/airflow-pr +++ b/dev/airflow-pr @@ -129,6 +129,9 @@ def clean_up(): if 'original_head' not in globals(): return + click.echo('Resetting git to remove any changes') + run_cmd('git reset --hard') + click.echo("Restoring head pointer to %s" % original_head) run_cmd("git checkout %s" % original_head)