Skip to main content

regrouping-git-history

Rebuild a tangled feature branch into a small set of reviewer-friendly logical commits while preserving its final tree byte-for-byte. Use when asked to regroup, squash, tidy, or rewrite a branch with many interleaved feature, fixup, review, merge, or formatting commits. Resolve the actual PR base, plan groups with the user, reconstruct commits in an isolated temporary worktree, verify identical tree IDs, preserve named recovery refs, and require a second confirmation before an exact force-with-lease push.

Jump to install

Source facts

Repository
magarcia/skills
Last source activity
July 23, 2026 at 14:20
Detected SKILL.md language
English
Stars
4
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.