Reorganizes disorganized git branch history into logical, production-ready commits with comprehensive messages.
The git-rewrite skill automates the tedious process of cleaning up development branch history before merging. It analyzes commit patterns such as linting fixes, test iterations, and incremental implementation steps, then condenses them into a polished series of shippable commits. By identifying logical groupings and generating descriptive commit messages, it ensures your repository history remains clean, readable, and professional for code reviews and future maintenance.
Key Features
01Streamlined branch preparation for peer review and repository standards
02Automatic recognition of commit patterns like linting, tests, and features
03Consolidation of iterative 'WIP' commits into logical units
04Automated generation of context-aware, detailed commit messages
05Identification of implementation evolution stages for better grouping
060 GitHub stars
Use Cases
01Separating code style changes and RuboCop fixes from functional logic changes
02Squashing multiple iterative 'fix' or 'wip' commits into a single logical feature update before a PR
03Refining a chaotic development branch into a documented, professional commit history