github / github/app

I'm noticing local branches just stick around.

Open
#2,454 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

I'm noticing local branches just stick around. I'm not sure what my workflow is supposed to be. I do a task in the worktree, have it merged, and archive the chat. I have instructions that say to delete the local branch when finished, but it can't because the worktree is still live (presumably until I archive it?)

---
| Field | Value |
| --- | --- |
| App version | 1.1.2 |
| OS | Windows 10.0.26200 |
| Theme | GitHub |
| Path | /chat |
| Tenure | Day 1 |

Contributor guide

Open the contributing guide

Research direction

Start at the /chat workflow and reproduce the reported sequence: complete a task in a worktree, merge it, and archive the chat. Trace when the worktree and local branch are released, then check the relevant existing tests or lifecycle entry points. Done means the expected cleanup behavior is clear and the local branch no longer remains unexpectedly after the workflow completes.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.