Skip to content

zechmeister/tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

tree

Create git worktrees for branches and switch to them. Useful for working with multiple LLM agents in parallel on different branches.

What it does

Creates a git worktree for the specified branch in ../<repo>-worktrees/<branch-name>, copies any paths listed in .worktreeinclude (one per line, # for comments), and opens a shell in the new worktree.

Setup

  1. Symlink into your bin directory:

    ln -s "$PWD/tree" ~/bin/tree
  2. Make sure ~/bin is in your PATH (add to .zshrc if needed):

    export PATH="$HOME/bin:$PATH"

Usage

tree <branch-name>

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages