Expand description
Git worktree lifecycle runner primitives.
Functionsยง
- create_
worktree - Creates a new worktree at
worktree_pathchecked out on a newly createdbranchbased onbase_branch. Cleans up any partially created directory ifgit worktree addfails. - delete_
branch - Deletes a local Git branch (
-dor-Dif force). - remove_
worktree - Removes a worktree via
git worktree remove(optionally--force) and prunes worktree metadata.