suggest_commit_message {gitGPT}R Documentation

Suggest a commit message based on the provided git diff

Description

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.

Usage

suggest_commit_message(diff)

Arguments

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.

Value

A character vector of length 1 with the suggested commit message based on the provided git diff.

Examples

## Not run: 
  suggest_commit_message()

## End(Not run)

[Package gitGPT version 0.1.3 Index]