#!/usr/bin/env bash # Put the repo back to HEAD after a failed ship. `git checkout --` restores # tracked files but leaves behind any NEW file the round created, which then # trips that round's own second-run guard on the retry. set -u cd /f/Coding/SoulStream || exit 1 git checkout -- . git clean -fd src tests crates src-tauri # no -x: ignored build output stays git status --porcelain | head echo "tree: $(git status --porcelain | wc -l) changed (0 = clean)"