cody icon indicating copy to clipboard operation
cody copied to clipboard

feedback: request: Generate the commit message for staged changes

Open sughodke opened this issue 11 months ago • 4 comments

Version

v1.8.2

Areas for Improvement

  • [ ] UI/UX
  • [ ] Onboarding
  • [ ] Docs
  • [ ] Chat
  • [ ] Commands
  • [ ] Context
  • [ ] Response Quality
  • [X] Other

What needs to be improved? Please describe how this affects the user experience.

A new feature to create a commit message given the staged commits

Describe the solution you'd like to see

In the revision control screen, when I select files or chunks to be staged I would love to see the agent generate a commit message

Describe any alternatives that could be considered

git diff | gpt -p "Write a brief commit message given these changes" | pbcopy

Requires this tool https://github.com/kharvd/gpt-cli

Additional context

Generated message would show up in this textbox.

Screenshot 2024-03-15 at 10 31 40 AM

sughodke avatar Mar 15 '24 17:03 sughodke