Commands
rft clean
Full cleanup of worktrees, containers, and Docker resources
Usage
rft cleanPerforms a complete cleanup of all rft-managed resources.
What Gets Removed
- Docker containers — all running stacks are stopped and removed
- Worktree directories — git worktrees created by rft are removed
- Docker resources — unused images and volumes are pruned
When to Use
Use rft clean when you're done working with worktrees and want to reclaim disk space and Docker resources. This is a destructive operation — all worktree data that hasn't been committed and pushed will be lost.
If you only want to stop containers without removing worktrees, use rft stop instead.