better_commit library

Functions

commit({String? suggestMessage, String? forceMessage}) Future<int?>
This function is used to commit the changes to the git repository. It uses the Google Generative AI API to generate a commit message based on the changes. It then runs the git commit command with the generated message.