Skip to content

Instantly share code, notes, and snippets.

@eonist
Last active February 21, 2026 23:33
Show Gist options
  • Select an option

  • Save eonist/41311f114c222a1a24e9460edaee66e5 to your computer and use it in GitHub Desktop.

Select an option

Save eonist/41311f114c222a1a24e9460edaee66e5 to your computer and use it in GitHub Desktop.
How the AI Rebase Works

AI Rebase

We can also do the reverse. With code agents often having a tendency to create an excessive amount of commits, where humans used to make 10 commits, vibe code agents now often produce 100 or more. This can be solved with our AI Rebase feature.

Select the commits you want to auto rebase, right press with the mouse, and press Auto Rebase. As with the Auto Split feature, we run a recursive algorithm then use AI to decide what logical groups fit best together. Then we reuse the essential commit descriptions and carry them over if relevant. We also use our commit enricher algorithm to further improve descriptions in regards to what each commit now contains. Turn 100 commits into 14 commits that reads more cleanly. The Auto Rebase feature also reduces the amount of file change occurrence significantly.

AI Rebase: Decluttering the Commit Frenzy On the flip side of splitting, there's squashing. The AI Rebase feature lets you select a range of messy commits, and Omni's AI groups them into streamlined logical commits — "vibe code generates commit bonanza, Omni declutters the frenzy to a neat stack of commits by removing the commit pollution" (issue #177) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment