• 7 Posts
  • 844 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • I use worktrees and I wondered the same question, so far here’s what I like:

    git worktrees list can show all the worktrees, you have for this same repo (not crazy value, I know)

    git fetch applies to all your worktrees

    git stash / apply can work across worktrees, so I can stash in one and apply it to another

    You’re limited to a specific branch per worktree and many don’t like that but I typically from a detached HEAD anyways.