It has happened that I start some new task from my machine at home. When that happens the <project>-worktree.sh command creates a new git worktree and branch, and eventually the branch gets pushed to GitHub and a PR is opened. If I switch to a different machine to pick up where I left (eg. process PR comments and eventually close the PR), I don't have the worktree or branch in that setup. I need a way to recreate worktree/branch in a new machine. Should that be added to <project>-worktree.sh ? if feels like it
It has happened that I start some new task from my machine at home. When that happens the
<project>-worktree.shcommand creates a new git worktree and branch, and eventually the branch gets pushed to GitHub and a PR is opened. If I switch to a different machine to pick up where I left (eg. process PR comments and eventually close the PR), I don't have the worktree or branch in that setup. I need a way to recreate worktree/branch in a new machine. Should that be added to<project>-worktree.sh? if feels like it