Skip to content
forked from benwr/gwipt

Automatically commit all edits to a wip branch with GPT-3 commit messages

Notifications You must be signed in to change notification settings

shelltips/gwipt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gwipt

Automatic work-in-progress commits with descriptive commit messages generated by GPT-3 Codex

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...

gwipt

Boom! Every change you make in the working tree is now saved, with a descriptive commit message. 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 branch of this repository. Every commit there that starts with wip: was generated by GPT-3. This is alpha-quality software, but I'm pleased enough with the results that I'm already using it for my personal projects.

Installation

cargo install gwipt

About

Automatically commit all edits to a wip branch with GPT-3 commit messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%