diff --git a/justfile b/justfile index ca6bffd..d1917d2 100644 --- a/justfile +++ b/justfile @@ -593,7 +593,8 @@ _mk_clean_list: ) | sort -u | while IFS= read line; do branch="$(cut <<<"$line" -c3-)" - if grep <<<"$branch" "$(just _upstream_release_branches '^' '$')" --quiet; then + if [[ "$branch" = "scratch" ]] \ + || grep <<<"$branch" "$(just _upstream_release_branches '^' '$')" --quiet; then continue fi #jq <<<"$worktrees" '.branch'