feat: implement git_worktree_switch tool (Issue #6) #19
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "issue-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implement
git_worktree_switchtool that switches pi's working directory to a linked worktree.Changes
pi-worktree-switch.tsmodule with pure functions for validation and resolutionresolveWorktreeTargetfrom main module (moved to switch module)Testing
Checklist
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.