A tool that creates smart commit messages using the git diff
.
Install the CLI
$ pip install git+https://github.com/ariG23498/smart-commit
Go to a git repository
$ git add .
$ smart-commit
Smart commit gives you a commit message based on the staged changes.
NAME
smart-commit - Main function that orchestrates the commit message generation and user interaction.
SYNOPSIS
smart-commit <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.