A tool that creates smart commit messages using the git diff
.
Install the CLI
$ pip install smart-commit-msg
Go to a git repository
$ git add .
$ smart-commit-msg
Smart commit msg gives you a commit message based on the staged changes.
NAME
smart-commit-msg - Main function that orchestrates the commit message generation and user interaction.
SYNOPSIS
smart-commit-msg <flags>
DESCRIPTION
Main function that orchestrates the commit message generation and user interaction.
FLAGS
--model=MODEL
Default: 'meta-llama/Llama...
--max_tokens=MAX_TOKENS
Default: 100
This tool uses the huggingface_hub.InferenceClient
API. So you can use all the models that support
the inference endpoints!
To know more about inference endpoints please read the official documentation.