Skip to content

Commit 59a8289

Browse files
NagyViktNagyVikt
andauthored
Document GitHub auto-delete setting to reduce merged branch clutter (#27)
Adds an explicit optional setup step for enabling GitHub's automatic head-branch deletion so merged agent branches are cleaned up remotely without manual pruning. Constraint: Setting lives in GitHub repository settings, not local CLI config Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep this note in the setup checklist near branch workflow steps so users enable it during initial repo setup Tested: README diff and checklist insertion verified locally Not-tested: End-to-end GitHub settings toggle behavior (external UI) Co-authored-by: NagyVikt <nagy.viktordp@gmail.com>
1 parent 98d96b6 commit 59a8289

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,9 @@ Use this exact checklist to setup multi-agent safety in this repository for Code
241241
7) Optional: sync your current agent branch with latest base branch:
242242
gx sync --check
243243
gx sync
244+
245+
8) Optional (GitHub remote cleanup): enable:
246+
Settings -> General -> Pull Requests -> Automatically delete head branches
244247
```
245248

246249
## Basic commands

0 commit comments

Comments
 (0)