Expand description
Thor worktree workflow commands.
High-level worktree operations that compose thor-core primitives with subprocess git calls for push/pull/merge/rebase.
Structs§
- Clean
Result - Result of a clean operation.
- Done
Opts - Options for the done command.
- Exec
Result - Result of running a command in one worktree.
- NewResult
- Result of creating a new worktree.
- Pull
Result - Result of pulling one worktree.
Enums§
- Done
Result - Result of a done operation.
- GoQuery
- What the user wants to navigate to.
- GoResult
- Result of a go operation.
- Pull
Status - Status of a pull operation on one worktree.
- Rebase
Result - Result of a rebase operation.
Functions§
- clean
- Prune worktrees and optionally delete branches merged into main.
- done
- Finish the current branch: merge into target or create a PR, then clean up.
- exec
- Run a shell command in every worktree.
- go
- Navigate to a worktree by fuzzy match, index, or previous.
- list
- List all worktrees.
- new
- Create a new worktree, optionally tracking a remote branch.
- pull
- Pull –rebase in one or all worktrees.
- rebase
- Fetch origin and rebase current branch onto origin/{base}.
- remove
- Remove a worktree by branch name.
- save_
last_ worktree - Persist the current worktree path for
go -.