code-yeongyu/AiShell

Generate a git commit message based on a diff

xshapira opened this issue · 3 comments

Is it possible to generate a git commit message based on a diff?
For instance, using pipes:

git diff | aishell "Generate git commit message for my changes"

I already made https://github.com/code-yeongyu/YGK-a for that exact case

Excellent work on both projects! I checked out the YGK-a project, and it looks quite similar to the AiShell. Could you explain how they are different from each other? Also, what are the use cases for each of them?

YGK-a (pronounced as ig-ka) is just a simple chatgpt client for the terminal (with pipe support)

and the AiShell is a terminal copilot that executes the result of chatgpt's response.