Closed myrontuttle closed 1 year ago
Multi-message prompt: https://github.com/di-sukharev/opencommit/blob/master/src/generateCommitMessageFromGitDiff.ts Commit message convention: https://www.conventionalcommits.org/en/v1.0.0/ Basic example: https://github.com/rtwfroody/gpt-commit-msg/blob/master/gpt_commit_msg.py Uses Async: https://github.com/markuswt/gpt-commit/blob/main/gpt-commit.py
As a developer I want commit messages written automatically So that I don't have to think about what to write
# Per https://github.com/Nutlope/aicommits # Run git diff to grab all the latest code changes, # send them to OpenAI's GPT-3, # then return the AI generated commit message.
Scenario: Automatic Commit Message Given a code change on a branch When that branch is added and committed Then a commit message is automatically created