# git_ui: Add force delete for worktrees \(\#56519\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/64f624773f8b7cbcca99dfd89139262516fbc874)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 64f624773f8b7cbcca99dfd89139262516fbc874

Requested commit: 64f624773f8b7cbcca99dfd89139262516fbc874

Commit: 64f624773f8b7cbcca99dfd89139262516fbc874

Tree: 18cb6f3fd1b63eb1b9cc7666928d982dd37a6f74

Author: Smit Barmase

Committer: GitHub

## Message

```
git_ui: Add force delete for worktrees (#56519)

Follows similar approach as
https://github.com/zed-industries/zed/pull/55927

Adds a force-delete path to the worktree picker. Normal delete now
prompts when Git reports modified or untracked files, and
Alt/Option-delete can force delete directly.

  Release Notes:

- Added support for force deleting worktrees that contain modified or
untracked files.
```

## Parents

- [1c61cc3fc278c1fbdbfe156b5c8c180336eebc40](https://git.cafe/gitcafe/zed/commit/1c61cc3fc278c1fbdbfe156b5c8c180336eebc40?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/64f624773f8b7cbcca99dfd89139262516fbc874?format=markdown)
