github / github/app

Deleting a worktree leaves the branch in the source repo

未关闭
#42 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Bugs
主要语言
没有语言数据
星标
2.1k
派生
153
PR 合并指标
30 天内没有已合并 PR

描述

### Short summary

Files aren't fully cleaned up when deleting wortrees

### Affected version or release

0.2.2

### Installation context

darwin arm64

### What happened?

Deleting a session doesn't fully clean up the files

### Steps to reproduce

If you follow these steps:
- Open a local project
- Start a new session / do some stuff
- Delete it (and click the confirm button that the files associated to it will be deleted)

You are still left with a branch in the source repository.

### Expected behavior

Feels like that should be removed too when you delete the session?

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start by reproducing the session deletion workflow on darwin arm64 and trace where the app removes the worktree and associated files. Confirm the cleanup path for the source repository; done means deleting a session also removes its branch from that repository.

由索引模型根据 Issue 内容生成。

评估

技术栈
git
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。