Show HN: Tool to Automatically Create Organized Commits for PRs
10 months ago
- #AI
- #productivity
- #git
- Git Smart Squash uses AI to automatically organize messy commit histories into clean, logical commits.
- Before and after examples show AI transforming disorganized commits into well-structured ones with conventional commit messages.
- Install via pip and choose between local AI (Ollama) for privacy or cloud AI (OpenAI, Anthropic, Gemini) with API keys.
- Commands include `git-smart-squash` for a dry run and `--auto-apply` to skip confirmation.
- Safety features include dry runs, backup branches, and no automatic pushing.
- Config files allow customization of AI providers per project or globally.
- Local AI has a token limit; large diffs may require chunking or switching to cloud providers.
- Documentation and issue tracking are available for further assistance.
- Open-source under MIT License, designed for developers seeking cleaner git history.