Skip to content

[Proposal] Automate Commit Messages with OpenAI #2579

@sorcererxw

Description

@sorcererxw

I am a huge fan of lazygit and use it almost every day. I am wondering if there is any plans to integrate lazygit with OpenAI/ChatGPT for automatically generating commit messages? This would be a fantastic feature that could make lazygit even lazier!

My idea for implementing this feature would be:
1.Set the OpenAI token in the lazygit config file.
2.lazygit would read the stashed files and request OpenAI to generate a commit message.
3.If the commit textarea is empty, display the generated commit message in the commit textarea with dimmed hint text.
4.Press TAB to use the generated commit message.

If there hasn’t been any progress on this front, I would be honored to offer my help.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions