https://github.com/benwr/gwipt
Automatically commit all edits to a wip branch with ChatGPT commit messages
https://github.com/benwr/gwipt
chatgpt git llm workflow-automation
Last synced: 9 days ago
JSON representation
Automatically commit all edits to a wip branch with ChatGPT commit messages
- Host: GitHub
- URL: https://github.com/benwr/gwipt
- Owner: benwr
- Created: 2022-12-28T00:58:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-12T05:18:50.000Z (about 1 month ago)
- Last Synced: 2025-03-30T09:05:07.025Z (16 days ago)
- Topics: chatgpt, git, llm, workflow-automation
- Language: Rust
- Homepage:
- Size: 165 KB
- Stars: 126
- Watchers: 2
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE-Apache-2.0.txt
Awesome Lists containing this project
- awesome-ChatGPT-repositories - gwipt - Automatically commit all edits to a wip branch with GPT-3 commit messages (Others)
README
# gwipt
Automatic work-in-progress commits with descriptive commit messages generated
by LLMs.Never again worry about the tension between "commit early, commit often" and
"every commit needs a commit message". All you need is an OpenAI API key, and
gwipt will track every single change in your working directory, on a parallel
`wip/` branch.## Usage
Make sure the environment variable `OPENAI_API_KEY` is set to your personal
API key. Then, `cd` into the repository, and...```bash
gwipt
```Boom! As long as the program is running, every change you make in the working
tree is now saved, with a descriptive commit message that will be printed to
stdout. Say you're on branch `A`; then all your changes (including untracked
files) will be automatically committed to `wip/A`, and you can explore them
whenever you want.You can see a few testing examples in the
[wip/main](https://github.com/benwr/gwipt/commits/wip/main) branch of this
repository. Every commit there that starts with `wip:` was generated by GPT-4o.
This is new and untested software, but I'm pleased enough with the results that
I'm already using it for my personal projects.## Installation
```bash
cargo install gwipt
```