Skip to content

v2.0.0 — perch

Choose a tag to compare

@github-actions github-actions released this 23 Aug 14:30
· 31 commits to main since this release
0d4378e

git-switch is now perch. The binary, the config directory, the completions and the shell integration all change name, and the command surface is three verbs instead of one.

Command Meaning
perch <branch> Take me to it, wherever it lives. Creates nothing.
perch br <branch> Check it out in place, in this worktree.
perch wt <branch> Ensure it has its own worktree.

br and wt also install as standalone shortcuts, and completions work under all three names.

Upgrading from v1

  • Install the new binary as perch and remove the old git-switch one.
  • Re-run the shell integration and completion install steps — the files moved to ~/.config/perch/ and _perch.
  • Anything scripted against git-switch needs renaming; there is no compatibility shim.

See the README for the full install steps.

What's Changed

  • refactor: rename git-switch to perch by @brzzdev in #90
  • feat(cli): three-verb command surface (perch / br / wt) by @brzzdev in #91
  • feat(picker): draw one list for all three verbs by @brzzdev in #92
  • feat(shell): br and wt shortcuts, completions for all three names by @brzzdev in #93
  • refactor(completions): let the binary answer what wt rm accepts by @brzzdev in #95
  • refactor(completions): let the binary answer which branches complete by @brzzdev in #97
  • chore(deps): refresh the lockfile and keep it fresh by @brzzdev in #98
  • chore: bump version to 2.0.0 by @brzzdev in #99

Full Changelog: v1.0.13...v2.0.0