Loading...
Loading...
Safely move all local worktree changes, including untracked files, onto a local target branch (default `develop`) using a worktree-aware stash/apply flow that preserves existing target-branch edits and surfaces conflicts for user direction.
npx skill4agent add wottpal/skills worktree-handoffdevelopdevelopgit stash push -ugit status --short --branch
git worktree list --porcelaingit status --short --branchHEADgit stash push -u -m "worktree-handoff: <source-ref> -> <target-branch> <timestamp>"-u--allgit worktree list --porcelainbranch refs/heads/<target-branch>git worktree add "../<repo>-handoff-<target-branch>" "<target-branch>"origin/<target-branch>git -C "<target-worktree>" status --shortstash popgit -C "<target-worktree>" stash pop --indexpop--indexalready exists, no checkoutcould not restore untracked files from stashgit -C "<target-worktree>" diff --name-only --diff-filter=U
git -C "<target-worktree>" status --short--index