Quick switch between worktrees of a git repository.
It preserves the path relative to the root of your repo. In other words, it's the fastest way to go from worktree1/src/types to worktree2/src/types.
worktree-welder-demo-1.mp4
- Install
pnpm add worktree-welder -g- Add alias to
.bashrcor.zshrc
alias ww='worktree-welder && cd $(cat /tmp/worktree-welder)'- Use
cd my-project
ww