Ga naar inhoud
↑↓Navigeren ↵Openen escSluiten

Deze inhoud is nog niet vertaald.

Worktrees & Git

Issues that come up with worktree sessions and the git view, and how to clear them.

A worktree needs attention

TokenWork flags a worktree when something’s off:

  • folder missing — the worktree’s folder was deleted or moved outside TokenWork; remove the session and create a fresh worktree
  • detached or unborn branch — the worktree isn’t on a normal branch; check it out onto one
  • merge, rebase, or cherry-pick in progress — an operation was left half-finished; finish or abort it from the git view

Can’t create a worktree

  • branch already exists — pick a different branch name, or use the existing-branch option
  • name already in use — choose a different worktree name

Commit or PR generation fails

Generating a commit message or PR description runs in your active session, so you need a session open with a working model selected. Open or pick a session and try again.

SSH or Windows path issues

  • make sure the SSH key the repo uses is the one set in your git identity
  • on Windows, git uses Unix-style paths (like /c/Users/...) — TokenWork handles this, but custom SSH key paths should follow the same form