Open guibranco opened 3 weeks ago
Click the checkbox below to generate a PR!
@guibranco, You have 3 requests left in this cycle which refreshes on 2024-11-21 10:07:38+00:00. If you have any questions or concerns, please contact us at info@gitauto.ai.
Hey, I'm a bit lost here! Not sure which file I should be fixing. Could you give me a bit more to go on? Maybe add some details to the issue or drop a comment with some extra hints? Thanks!
Have feedback or need help? Feel free to email info@gitauto.ai.
Description
In the dotnet-aicommitmessage tool, which generates commit messages using the ChatGPT API (LLM models), implement a business rule to retain the original commit message when it follows the auto-generated format used during a merge conflict resolution. Currently, the tool replaces all commit messages, which can modify the intended context of merge conflict resolutions. Preserving these original messages will help maintain a clear version history.
Message Pattern
The pattern for auto-generated messages following a merge conflict resolution is as follows:
Requirements
Acceptance Criteria
Sample pattern extraction
Additional Context
This feature will help retain the context of conflict resolutions in commit history by preserving the original message format.