Skip to content

Document local branch cleanup after squash/rebase merges - #4

Merged
thePunderWoman merged 1 commit into
mainfrom
docs/branch-cleanup-note
Aug 2, 2026
Merged

Document local branch cleanup after squash/rebase merges#4
thePunderWoman merged 1 commit into
mainfrom
docs/branch-cleanup-note

Conversation

@thePunderWoman

Copy link
Copy Markdown
Owner

Summary

  • Adds a step to CLAUDE.md's Git workflow section: delete the local feature branch once a PR lands.
  • This repo always squash or rebase merges, so main never gets a merge commit for the PR — git branch -d/--merged won't recognize a landed branch as merged. Notes how to confirm it landed (git log --oneline or gh pr view) before force-deleting with git branch -D.

Test plan

  • N/A — docs only

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@thePunderWoman
thePunderWoman merged commit 53acabd into main Aug 2, 2026
1 check passed
@thePunderWoman
thePunderWoman deleted the docs/branch-cleanup-note branch August 2, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant