Skip to main content

Crate thor_wt

Crate thor_wt 

Source
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§

CleanResult
Result of a clean operation.
DoneOpts
Options for the done command.
ExecResult
Result of running a command in one worktree.
NewResult
Result of creating a new worktree.
PullResult
Result of pulling one worktree.

Enums§

DoneResult
Result of a done operation.
GoQuery
What the user wants to navigate to.
GoResult
Result of a go operation.
PullStatus
Status of a pull operation on one worktree.
RebaseResult
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 -.