# Use React Query mutations for git worktree operations · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/a6b9ece840989e615e3cfc443524d71f4cac6f42)

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

Visibility: public

Requested revision: a6b9ece840989e615e3cfc443524d71f4cac6f42

Requested commit: a6b9ece840989e615e3cfc443524d71f4cac6f42

Commit: a6b9ece840989e615e3cfc443524d71f4cac6f42

Tree: 59c0831a2c20c9268b952bb80cd3f36bf67675c8

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Use React Query mutations for git worktree operations

- Route worktree create/remove calls through shared git mutation options
- Invalidate git queries on mutation settle to keep branch/worktree data fresh
- Update chat and sidebar flows to use `mutateAsync` for worktree actions

```

## Parents

- [65ab532342a24e8629b2feb9ce514ae45092866c](https://git.cafe/pingdotgg/t3code/commit/65ab532342a24e8629b2feb9ce514ae45092866c?format=markdown)

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