Skip to content

ariG23498/smart-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Commit Msg

A tool that creates smart commit messages using the git diff.

Usage

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.

Tool Help

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

Models

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.

References

About

Smart commit messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages