https://github.com/nuttycream/gai
Git + AI integration for simplifying git commit messages and histories.
https://github.com/nuttycream/gai
ai git
Last synced: 9 months ago
JSON representation
Git + AI integration for simplifying git commit messages and histories.
- Host: GitHub
- URL: https://github.com/nuttycream/gai
- Owner: nuttycream
- Created: 2025-09-12T17:07:12.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-10-05T06:33:39.000Z (9 months ago)
- Last Synced: 2025-10-05T07:09:33.341Z (9 months ago)
- Topics: ai, git
- Language: Rust
- Homepage:
- Size: 314 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
gai, is a git + AI powered TUI that automatically generates commits, commit
messages, and branches when appropriate.
gai is yet another entry to the **A**rtificial (intelligence) **S**lop
**S**oftware initiative (aka. ASS).
It works by taking a diff of your repo and
sending an API request to an LLM AI provider, where it takes that response and
builds out git operations along with messages for you to review and send out -
simplifying the process greatly.
> [!NOTE]
> This is not a complete git replacement. In fact, I recommend heavily relying
> on the git cli and using this primarily when you don't want to create commit
> messages.
## Planned features
- [x] Per File Staging - stage and commit per file/s commit messages
- [ ] Per Hunk Staging - similar to `git add -p`, stage on a per hunk basis,
with relevant hunks placed together.
- [ ] Magic Rebasing - per @water-sucks:
- having a ton of staged changes that split cleanly into multiple commits
- reworking a branch by formulating some form of rebase plan
`git rebase —edit-todo style` or by creating new commits out of a list of
hunks or commits on a given branch
- [ ] Recreate/Amend Existing Commits - take a diff from one point in the commit
history to another point, and have the LLM create a clean history, either
by recreating/splitting the commits, or by amending them in place.
- [ ] CLI - optionally skip the tui and provide an (optional)
confirmation/dialog to stdout.
- [ ] GitHub Marketplace App - GH actions bot