Consolidate Commits

Consolidate a feature branch's commits into the minimum number of valuable commits with no add-then-undo churn, verifying the final tree is byte-identical. Use whenever the user asks to clean up, consolidate, squash, restructure, or curate a branch's commits, wants "reviewable commits" before landing or opening a PR, or complains that a branch's history is messy or has churn — even if they don't say "squash".

gitkraken b633e42 8.0 KB Updated

File contents

gitkraken/vscode-gitlens/tree/main/.claude/skills/consolidate-commits commit b633e42eba

Frequently asked questions

npx skillmds@latest add gitkraken/consolidate-commits