← Back to projects

Ghit

RustAIGit

ghit is an AI-powered CLI that automates your git workflows.

For example, I mainly use ghit to automatically stage my code changes, analyze the diff, create a commit using AI and then push the changes to my remote branch.

I can do all of this using a single command ghit that will run this entire workflow for me.

It also supports workflows for staging individual files, just creating the commit message and others too. My goal was to automate my most common git workflows using AI so that I can execute one command instead of give.

I wrote ghit in rust using the clap crate which serves as a sort of harness for the CLI.

It's split up into a few modules:

Overall, a fun little project to make my life easier and faster.