In our script https://github.com/source-academy/frontend/blob/master/scripts/test.sh which is used as a pre-push git commit hook: https://github.com/source-academy/frontend/blob/5dfed3be82e86bf16b6275fdefcafd65037ef0d3/scripts/test.sh#L22 This popping of the stash should be conditional based on whether https://github.com/source-academy/frontend/blob/5dfed3be82e86bf16b6275fdefcafd65037ef0d3/scripts/test.sh#L6 did in fact did a push on the stash!