Branches
Branches in Plandex allow you to easily try out multiple approaches to a task and see which gives you the best results. They work in conjunction with version control. Use cases include:
- Comparing different prompting strategies.
- Comparing results with different files in context.
- Comparing results with different models or model-settings.
- Using
plandex rewind
without losing history (first check out a new branch, then rewind).
Creating a Branch
To create a new branch, use the plandex checkout
command:
plandex checkout new-branch
Switching Branches
To switch to a different branch, also use the plandex checkout
command:
plandex checkout existing-branch
Listing Branches
To list all branches, use the plandex branches
command:
plandex branches
Deleting a Branch
To delete a branch, use the plandex delete-branch
command:
plandex delete-branch branch-name