Commitly logo

Commitly Commitly

Use this command to install Commitly:
winget install --id=Commitly.Commitly -e

AI powered git commits

Commitly is a Git CLI extension designed to simplify the process of creating descriptive commit messages using AI-powered technology.

Key Features:

  • Seamlessly integrates with your existing Git workflow.
  • Automatically generates clear, concise, and context-aware commit messages based on changes in your repository.
  • Supports configuration via .gitconfig for API key management.
  • Offers a preview option to review suggested commits before finalizing.
  • Allows customization of the number of AI-generated suggestions displayed.

Audience & Benefit:
Ideal for developers seeking efficient and meaningful commit practices, Commitly enhances productivity by reducing the cognitive load of crafting perfect commit messages. By automating this process, it promotes better code quality, consistency, and clarity across projects.

Install via winget to start leveraging AI-driven commits in your workflow today.

README

commitly

commitly is a Git CLI extension that generates commit messages using an AI service.

Installation

To install the CLI tool, download the latest release from the GitHub releases page.

Usage

To use the commitly command, simply run:

commitly

To preview the commit messages before committing, use the --preview option:

commitly --preview

Configuration

To configure the .gitconfig file with the API key, add the following section to your .gitconfig file:

[commitly]
    apiKey = YOUR_API_KEY_HERE

Replace YOUR_API_KEY_HERE with your actual API key.

To set the commitly.api-key using the command git config --global, run the following command:

git config --global commitly.api-key YOUR_API_KEY_HERE

Replace YOUR_API_KEY_HERE with your actual API key.

Examples

Here are some examples of how to use the commitly command:

# Generate a commit using the AI service
commitly
# Preview a commit using the AI service, then commit it
commitly --preview
# Generate maximum 2 commits using the AI service
commitly --max 2

Config Command

To read the current configuration, use the config command:

commitly config read

Update Command

To update the CLI tool, use the update command:

commitly update

The command will output a generated commit message based on the changes in your repository.

Versions
1.1.2
1.1.1
1.0.1
Website