De-slop: remove every em-dash + banned words across all modules + capstone (#94)
Sync course wiki / sync-wiki (push) Successful in 4s
Sync course wiki / sync-wiki (push) Successful in 4s
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #94.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Module 26 lab — tear down the fleet after the work has merged.
|
||||
# Module 26 lab: tear down the fleet after the work has merged.
|
||||
#
|
||||
# Removes each worktree and prunes stale records. Refuses to remove a worktree with uncommitted
|
||||
# work (Git's safety) — commit or merge first. Run from inside your tasks-app repo.
|
||||
# work (Git's safety); commit or merge first. Run from inside your tasks-app repo.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -17,7 +17,7 @@ git rev-parse --git-dir >/dev/null 2>&1 || { echo "not a git repo" >&2; exit 1;
|
||||
for path in "${FLEET[@]}"; do
|
||||
if [ -d "$path" ]; then
|
||||
echo "remove: $path"
|
||||
git worktree remove "$path" # fails if dirty — that's intentional; commit first
|
||||
git worktree remove "$path" # fails if dirty; that's intentional, commit first
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user