Clean up merged branches and organize repository structure: $ARGUMENTS
# Git Branch Cleanup & Organization Clean up merged branches and organize repository structure: $ARGUMENTS ## Current Repository State - All branches: !`git branch -a` - Recent branches: !`git for-each-ref --count=10 --sort=-committerdate refs/heads/ --format='%(refname:short) - %(committerdate:relative)'` - Remote branches: !`git branch -r` - Merged branches: !`git branch --merged main 2>/dev/null || git branch --merged master 2>/dev/null || echo "No main/master branch found"` - Current branch: !`git branch --show-current` ## Task Perform comprehensive branch cleanup and organization ...
Clean up old and defunct branches that are no longer needed
Clean up merged branches and organize repository structure: $ARGUMENTS
Comprehensive git branch cleanup and organization
Clean up merged and stale branches locally and remotely with comprehensive safety checks