Merge the current worktree back to the target branch and clean up: $ARGUMENTS
Merges the current worktree into a target branch, pushes changes, removes the worktree, and optionally deletes the feature branch. Use this to clean up completed worktrees after merging features into main/develop branches.
/plugin marketplace add L-Sypniewski/claude-code-toolkit/plugin install git-project-management@claude-code-toolkitMerge the current worktree back to the target branch and clean up: $ARGUMENTS
Parse arguments to extract:
Execute these steps:
git branch --show-currentgit statusgit worktree remove <worktree-path>Handle any merge conflicts by explaining the resolution process.