Skip to content

Create a Git worktree from the phone #133

Description

@broven

Right now, starting fresh work from the phone means starting it in whatever checkout the pane already sits in. If I want to branch off and put an agent on it, I have to walk back to the desk — which is the one thing Collie otherwise saves me from.

Herdr itself can already create a worktree and open it as a workspace; that capability just isn't reachable from Collie. So this doesn't look like it needs anything new from herdr — only a route to something that already exists.

What I'd want, smallest useful version: a "new worktree" action on a space that asks for a branch name, creates it, and drops me straight into a pane there, ready to send the first prompt. Browsing and removing existing worktrees would be nice later, but creation is the part that's actually blocking.

If you're happy with the idea, I'm glad to put up a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions