fork-dev / TrackerWin

Bug and issue tracker for Fork for Windows
449 stars 10 forks source link

Feature request - AI-Generated commit message feature similar to github copilot in VS Code #2100

Open vgibilmanno opened 6 months ago

vgibilmanno commented 6 months ago

In Visual Studio Code, there's a feature with GitHub Copilot that automatically generates commit messages. This feature is quite helpful as it saves time and provides relevant commit messages.

I think it would be beneficial to have a similar feature in fork. An AI that suggests commit messages based on the changes in a commit would be a significant improvement. It’s a small enhancement that can have a big impact on daily workflow, especially for those handling numerous commits.

See VS Code: image

DanPristupov commented 6 months ago

Does it require a paid subscription?

vgibilmanno commented 6 months ago

Yes you need a paid subscription. This is their subscription model:

GitHub Copilot can be managed through personal accounts with GitHub Copilot Individual or through organization accounts with GitHub Copilot Business.

GitHub Copilot is free to use for verified students, teachers, and maintainers of popular open source projects. If you are not a student, teacher, or maintainer of a popular open source project, you can try GitHub Copilot for free with a one-time 30-day trial. After the free trial, you will need a paid subscription for continued use. For more information, see "About billing for GitHub Copilot."

The question is, if it has to be github copilot. It's up to you/your team what kind of AI you would want to integrate. Personally I would prefer github copilot though

Edit: I noticed that Github Copilot doesn't offer an API

skttl commented 5 months ago

The GitLens extension for VSCode also does this, and lets you provide an API key for OpenAI and select which model to use

https://github.com/gitkraken/vscode-gitlens/blob/ebcbf05d5a83479a71dc12d78b23d49e15713f78/src/commands/generateCommitMessage.ts#L17

DefinitelyADev commented 4 months ago

This would be awesome!

yotamcuralife commented 3 months ago

For even more convenience, How can I make it automatically generate a commit message when i push on the commit button?