From 5705d28d9ec4cce1980dba418d5ac5968463313f Mon Sep 17 00:00:00 2001 From: Jessica Janiuk Date: Sun, 2 Aug 2026 09:56:05 -0700 Subject: [PATCH] Document local branch cleanup after squash/rebase merges MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This repo always squash or rebase merges PRs, so main never gets a merge commit — git branch -d/--merged can't tell a landed branch is merged. Note how to confirm and clean up safely. Co-Authored-By: Claude Sonnet 5 --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index 2e2a3dd..abc7d07 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,3 +20,4 @@ git push thePunderWoman gh pr create ... ``` +3. Once a PR lands, delete the local feature branch. This repo always squash or rebase merges — `main` never gets a merge commit for the PR, so `git branch -d` (and `--merged` checks) won't recognize the branch as merged even though its content has landed. Confirm via `git log --oneline` (look for the PR's commit/title on `main`) or `gh pr view --json state`, then use `git branch -D ` to remove it.