Quick Squash Commits
git_quick_squashSquash multiple recent commits into a single commit with a custom message, simplifying Git history. Requires a clean working directory and rewrites commit history.
Instructions
Merges the last N commits on HEAD into a single commit via a soft reset, applying a clean new commit message. Requires a clean working directory. Rewrites history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_message | Yes | The commit message to apply to the resulting squashed commit. | |
| commit_count | Yes | Number of most-recent commits to squash together. Must be >= 2. |