github / github/app

Deleting a worktree leaves the branch in the source repo

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

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.