LogoClawIndex
CasesSkillsAbout
LogoClawIndex

git-post-merge-cleanup - Git Post-Merge Repository & Branch Cleanup Skill

Provides post-merge local Git cleanup procedures, main branch syncing, local branch deletion, and deep repository garbage collection upon explicit user request.

Tags

Updated: 2026-09-14

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Verify working directory status
  • Switch to main branch
  • Pull latest changes from origin
  • Prune stale remote tracking branches
  • Delete merged local feature branches
  • Remove ephemeral Git worktrees
  • Expire reflog entries
  • Run aggressive Git garbage collection

Inputs

  • Explicit user cleanup request
  • Target Git repository
  • Merged branch name

Outputs

  • Synchronized main branch
  • Deleted local feature branches
  • Removed Git worktree directories
  • Garbage-collected Git repository
  • Clean working tree status

Requirements

  • Explicit human user instruction
  • Clean local working tree
  • Git command line tool
  • Access to remote GitHub repository

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
git
post-merge
cleanup
branch-management
garbage-collection
Verify working directory status
Switch to main branch
Pull latest changes from origin
Prune stale remote tracking branches
Explicit user cleanup request
Target Git repository
Merged branch name
Synchronized main branch
Deleted local feature branches
Removed Git worktree directories