suggest_commit_message | R Documentation |
Suggests a commit message by utilizing the 'OpenAI' 'GPT-3.5 Turbo' model. It takes a git diff as input and returns a meaningful commit message.
suggest_commit_message(diff)
diff |
An optional character vector containing the git diff. If not provided, the function will automatically generate the git diff output for the current working directory. |
A character vector of length 1 with the suggested commit message based on the provided git diff.
## Not run:
suggest_commit_message()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.