git-worktree-clean
OfficialReset and clean git worktrees reliably.
Authorag-grid
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Clean up a worktree by fetching fresh state from origin and hard-resetting to a target branch.
Core Features & Use Cases
- Recreate a clean worktree by resetting to a target branch
- Validate current state and ensure origin alignment
- Use in automation to maintain consistent worktree states
Quick Start
Reset the current git worktree to origin/latest or a specified branch by fetching from origin and performing a hard reset.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: git-worktree-clean Download link: https://github.com/ag-grid/ag-shared/archive/main.zip#git-worktree-clean Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.