Close Worktree

Close a git worktree session: ensure a clean tree (via finish-work if dirty), review branch-related stashes, preserve keepable untracked files onto develop, rebase the feature branch onto develop and fast-forward develop, then remove the worktree and local branch. Use when closing a worktree, landing a feature branch into develop, cleaning up after a worktree session, or finishing a parallel worktree.

fixmyberlin aafaa72 8.1 KB Updated

File contents

fixmyberlin/fixmyskills/tree/main/skills/close-worktree commit aafaa725ed

Frequently asked questions

npx skillmds@latest add fixmyberlin/close-worktree