# Force-remove dirty git worktrees during orphan cleanup · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/58a8d653a8f16d3c0e8d8ff86728fcf4d28e32fb)

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

Visibility: public

Requested revision: 58a8d653a8f16d3c0e8d8ff86728fcf4d28e32fb

Requested commit: 58a8d653a8f16d3c0e8d8ff86728fcf4d28e32fb

Commit: 58a8d653a8f16d3c0e8d8ff86728fcf4d28e32fb

Tree: ada5cd024dd76b73c6a3466a297d4b2868593cd7

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Force-remove dirty git worktrees during orphan cleanup

- add optional `force` to remove-worktree contract and server git args
- pass `force: true` from sidebar orphaned worktree cleanup flow
- add integration test covering dirty worktree removal behavior

```

## Parents

- [eecb53498ad182f51ad1743280e8d22e5e1d116c](https://git.cafe/gitcafe/t3code/commit/eecb53498ad182f51ad1743280e8d22e5e1d116c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/58a8d653a8f16d3c0e8d8ff86728fcf4d28e32fb?format=markdown)
