Skip to main content

Add your description here

Project description

quick-commit

PyPI OS License: MIT CI CD Gitmoji

quick-commit is a CLI-based git commit automation tool that helps you follow the Conventional Commits specification.

The main features include:

  • automatic generation of commit messages based on the Conventional Commits specification with gitmoji support.
  • filter functions to find your desired commit types, scopes, and gitmojis.
  • sorting methods to give you your most commonly/recently used gitmojis and scopes right away.
  • commit message validation to ensure your commit messages are formatted correctly.
  • a simple and easy-to-use interface.
  • a customisable configuration file to suit your needs.

quick-commit is designed to help you write better commit messages and make your git history more readable and understandable with the least amount of effort.

Installation

To install quick-commit, you can use the following command:

pipx install quick-commit

This installs the quick-commit python application (requires Python 3.10 or later) and makes it available as a command-line tool.

Usage

To use quick-commit, you can run the following command:

quick-commit

This will open the quick-commit CLI interface where you can customise your commit message. Starting quick-commit with the -a flag additionally stages all modified files for the commit.

If you wish to include a footer in your commit message, use the flag --footer (or enable it by default in the configuration file).

To mark breaking changes in your commit message, use the flag --breaking.

Configuration

quick-commit uses a configuration file to store your preferences. A configuration file can be stored locally for your project at .quick-commit-config.yaml or globally in your user-config directory (/home/username/.config/quick-commit/config.yaml for Linux, or C:\Users\username\AppData\Roaming\quick-commit\config.yaml for Windows).

An example configuration file that shows off all supported settings is as follows:

types:
  exclude:
    - chore
    - revert
  add:
    - name: my-commit-type
      description: My custom commit type
    - name: my-other-commit-type
      description: My other custom commit type
  priority:
    - feat
    - my-commit-type
    - my-other-commit-type

scopes:
  exclude:
    - deps
    - '#\d+'
  add:
    - my-new-scope
  prohibit-no-scope: true

message:
  custom-pattern: '^\w+\.'

gitmojis:
  exclude:
    - art
    - fire
  add:
    - icon: 🎨
      name: my-gitmoji
      description: My custom gitmoji.
    - icon: 🔥
      name: my-gitmoji-2
      description: My custom gitmoji number 2.
  priority:
    - sparkles
    - my-gitmoji
    - my-gitmoji-2

always-enable-footer: true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quick_commit-0.1.0.tar.gz (77.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quick_commit-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file quick_commit-0.1.0.tar.gz.

File metadata

  • Download URL: quick_commit-0.1.0.tar.gz
  • Upload date:
  • Size: 77.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for quick_commit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac27f2d6904e9d0cf66436a59c2ce39bbd5c82dfbfd2e85b1296a388645f9a11
MD5 3a094b940a70a9f9df49a04c69f3a4b3
BLAKE2b-256 67b51ba23383a398a75ba24728b456ccd8c479e77a21310a08aff3e9c161bc94

See more details on using hashes here.

File details

Details for the file quick_commit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: quick_commit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for quick_commit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 150a831aa965f9885f63e30af563b030f996cfbeef3354e50997e30d5cd99ddf
MD5 0022b7260645f4f0723a55f9a89e0a6f
BLAKE2b-256 560b094c4aa80d3bd04073b265b4b790ca1d811edc2ebfae5f3c1d7b2268f65f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page