Latest / Developer tools

git-smart-squash

github.com · Open source · Quiet

Uses an LLM to reorganize a branch into clean, logical commits

Visit github.com ↗Share

  • commit
  • git squash ai
  • reorganize commits
  • clean git history
  • llm commit messages
  • pr commit cleanup
Stars
238
Forks
7
Open issues
12
Last commit
Releases
31
Found
17 months ago

GitHub figures as of . They are context, not a ranking.

git-smart-squash sends the diff of a branch to an LLM provider, which proposes grouped commits with messages and descriptions. The user must accept the plan before the tool rewrites the history. It suits developers who want pull requests that are easier to review without splitting changes by hand.

What it does

  • Uses an LLM to group a branch's diff into logical commits
  • Proposes commit messages and descriptions for each group
  • Requires approval of the plan before history is rewritten
  • Works with local Ollama or cloud OpenAI, Anthropic and Gemini keys

Good for

  • Turn a messy feature branch into clean commits before review
  • Reorganize commits into logical groups for a pull request

Suits: Developers who want pull requests that are easier to review.

Worth knowing: The readme says cloud models give better results than the local default

What you can try

Read the README on GitHub and install from source.

Install

pip install git-smart-squash
pipx install git-smart-squash
uv tool install git-smart-squash

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw git-smart-squash on , when edverma2 posted it to Show HN. The oldest published release on GitHub is v1.1.0, dated . git-smart-squash had been shipping tagged releases for 23 days before it was found. 31 releases have been published in total; the latest is v4.0.3 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 76 points, 51 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 14 releases shipped

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (30 in total, busiest month 13). Based on the most recent releases on record.
  1. Repository created on GitHub: edverma/git-smart-squash
  2. Release v1.1.0
  3. Found: edverma2 posted it to Show HN. Show HN
  4. Release v3.7.2
  5. Release v3.7.3
  6. Release v4.0.0
  7. Release v4.0.1
  8. Release v4.0.2
  9. Release v4.0.3
  10. Day-7 check recorded by Kip (details)
  11. Day-30 check recorded by Kip (details)

Showing the first and the 6 latest of 31 releases. All releases on GitHub

Quick answers

When was git-smart-squash released?
Its first tagged release on GitHub is dated 28 May 2025. Kip found it on Show HN on 20 Jun 2025.
Is git-smart-squash open source?
Its source is public on GitHub at edverma/git-smart-squash under the MIT licence.
What does git-smart-squash run on?
Command line.
Is git-smart-squash free?
It is open source, so the code is free to read and run; check the licence for terms.
Is git-smart-squash still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryedverma/git-smart-squash
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-44324457. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.