Skip to main content

Branches

Branches in Plantic 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 plantic rewind without losing history (first check out a new branch, then rewind).

Creating a Branch

To create a new branch, use the plantic checkout command:

plantic checkout new-branch
pdxd new-branch # alias

Switching Branches

To switch to a different branch, also use the plantic checkout command:

plantic checkout existing-branch

Listing Branches

To list all branches, use the plantic branches command:

plantic branches

Deleting a Branch

To delete a branch, use the plantic delete-branch command:

plantic delete-branch branch-name