Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

1f6b70f · May 6, 2024

History

History
27 lines (19 loc) · 777 Bytes
·

init.md

File metadata and controls

27 lines (19 loc) · 777 Bytes
·

Usage

cz init --help

Example

To start using commitizen, the recommended approach is to run

cz init

init

This command will ask you for information about the project and will configure the selected file type (pyproject.toml, .cz.toml, etc.).

The init will help you with

  1. Choose a convention rules (name)
  2. Choosing a version provider (commitizen or for example Cargo.toml)
  3. Detecting your project's version
  4. Detecting the tag format used
  5. Choosing a version type (semver or pep440)
  6. Whether to create the changelog automatically or not during bump
  7. Whether you want to keep the major as zero while building alpha software.
  8. Whether to setup pre-commit hooks.