Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 647 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 647 Bytes

Worktree Welder

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.

Demo

worktree-welder-demo-1.mp4

Usage

  1. Install
pnpm add worktree-welder -g
  1. Add alias to .bashrc or .zshrc
alias ww='worktree-welder && cd $(cat /tmp/worktree-welder)'
  1. Use
cd my-project
ww

Why?

ajeetdsouza/zoxide#528