liamg / comet

:comet: Command line tool to help you use conventional commit messages (https://www.conventionalcommits.org)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Comet

Comet is a simple CLI tool that helps you to use conventional commits with git.

You can call comet where you'd normally type git commit. All flags supported in git commit will still work.

Demo

Installation

Install with Go (1.17+):

go install github.com/liamg/comet@latest

Or grab a binary from the latest release.

Customisation

You can customise the options available by creating a .comet.json in the root of your repository, or in your home directory. The repository-level config will be preferred if it exists.

The content should be in the following format:

{
  "signOffCommits": false,
  "prefixes": [
    { "title":  "feat", "description":  "a new feature"},
    { "title":  "fix", "description":  "a bug fix"},
    { "title":  "bug", "description":  "introducing a bug"}
  ]
}

About

:comet: Command line tool to help you use conventional commit messages (https://www.conventionalcommits.org)

License:MIT License


Languages

Language:Go 100.0%