MCPcopy Index your code
hub / github.com/Zhengqbbb/cz-git

github.com/Zhengqbbb/cz-git @v1.13.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.13.1 ↗ · + Follow
251 symbols 629 edges 106 files 38 documented · 15% 7 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README
<a target="_blank" href="https://github.com/Zhengqbbb/cz-git">
    <img src="https://user-images.githubusercontent.com/40693636/154064210-964aeaa0-d9dc-4cea-9e52-2ffc3789611b.png" alt="cz-git-logo" width="400" data-width="400" data-height="400">
</a>

cz-git

<a target="_blank" href="https://github.com/commitizen/cz-cli#adapters">
  <img style="display:inline-block;margin:0.2em;" alt="Commitizen-Adapter" src="https://img.shields.io/badge/Commitizen-Adapter-red.svg?logo=git&style=flat">
</a>
<a target="_blank" href="https://cz-git.qbb.sh/cli/">
  <img style="display:inline-block;margin:0.2em;" alt="CLI-Link" src="https://img.shields.io/badge/Commitizen-CLI-red.svg?logo=git&style=flat">
</a>



<a target="_blank" href="http://commitizen.github.io/cz-cli/">
  <img style="display:inline-block;margin:0.2em;" alt="commitizen-friendly" src="https://img.shields.io/badge/Commitizen-friendly-brightgreen.svg?logo=github">
</a>
<a target="_blank" href="https://github.com/Zhengqbbb/cz-git">
  <img style="display:inline-block;margin:0.2em;" alt="GitHub Repo stars" src="https://img.shields.io/github/stars/zhengqbbb/cz-git?style=social">
</a>
<a target="_blank" href="https://github.com/Zhengqbbb/cz-git/actions/workflows/nodejs.yml">
  <img style="display:inline-block;margin:0.2em;" alt="test-ci" src="https://github.com/Zhengqbbb/cz-git/workflows/Node.js%20CI/badge.svg">
</a>



<a href="https://www.npmjs.com/package/cz-git">
    <img style="display:inline-block;margin:0.2em;" alt="npm-download" src="https://img.shields.io/npm/dm/cz-git.svg?color=blue&style=flat-square&label=cz-git&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6IiBmaWxsPSIjY2IwMDAwIi8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTcgN2gyNnYyNmgtN1YxNGgtNnYxOUg3eiIvPjwvc3ZnPgo=">
    <img style="display:inline-block;margin:0.2em;" alt="npm" src="https://img.shields.io/npm/v/cz-git?style=flat-square&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6IiBmaWxsPSIjY2IwMDAwIi8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTcgN2gyNnYyNmgtN1YxNGgtNnYxOUg3eiIvPjwvc3ZnPgo=">
</a>
<a href="https://www.npmjs.com/package/czg">
    <img style="display:inline-block;margin:0.2em;" alt="npm-download" src="https://img.shields.io/npm/dm/czg.svg?color=blue&style=flat-square&label=czg&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MCA0MCI+PHBhdGggZD0iTTAgMGg0MHY0MEgwVjB6IiBmaWxsPSIjY2IwMDAwIi8+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTcgN2gyNnYyNmgtN1YxNGgtNnYxOUg3eiIvPjwvc3ZnPgo=">
</a>



<a href="https://formulae.brew.sh/formula/czg">
    <img style="display:inline-block;margin:0.2em;" alt="homebrew" src="https://img.shields.io/homebrew/v/czg?style=flat-square&logo=homebrew&label=homebrew-czg">
</a>







<a href="https://github.com/Zhengqbbb/cz-git">GitHub</a>
&nbsp; | &nbsp;
<a href="https://cz-git.qbb.sh/guide/">Installation</a>
&nbsp; | &nbsp;
<a href="https://cz-git.qbb.sh">Website</a>
&nbsp; | &nbsp;
<a href="https://cz-git.qbb.sh/cli/">CLI</a>



<a href="https://cz-git.qbb.sh/zh/">简体中文文档</a>

Introduction

DX first and more engineered, lightweight, customizable, standard output format Commitizen adapter and Git commit CLI.

demo-gif

What is commitizen: A Node.js-based git commit command-line tool that assists in generating standardized commit messages.

What is an adapter: Replace the interactive plugin for the commitizen command line tool.

Feature

  • 💪 Just to be a lazy man !!! Friendly command line tool, Supports search and selection on the command line, reducing spelling errors.
  • ⚡️ Lightweight, Highly Customizable, but the output format follows the standard Conventional Commits specification.
  • 🔨 Better for monorepo engineering and commitlint project to give relevant verification information to the command line.
  • ✅ Support commit with emoji | Better linking with issuePrefix for issue
  • 🤖 OpenAI support. Let the AI generate your git commit message.

⇒ Why cz-git

$ npm i -D cz-git
+ cz-git          (1.76 MB)
added 1 package in 0.552s

⇒ Why czg

$ npm i -g czg
+ czg             (1.32 MB)
added 1 package in 0.531s

Projects using cz-git

Nx logo Nx Element Plus logo Element Plus Ant Design Vue logo Ant Design Vue TDesign-Vue-Next logo TDesign-Vue-Next
Vben-Admin logo Vben-Admin Geeker-Admin logo Geeker-Admin instructure-ui logo instructure-ui iDux logo iDux
Vuepress-Theme-Gungnir logo Vuepress-Theme-Gungnir

Get Started

「cz-git & czg」 require Node >=v12.20

Configure Template

⇒ Configure Template

Options

⇒ Show Related

⇒ Engineering Related

Recipes

⇒ Recipes

FAQ

⇒ FAQ

size-overview

https://packagephobia.com/result?p=cz-git,czg

LICENSE

MIT Copyright (c) 2022-present Qiubin Zheng zhengqbbb@gmail.com (https://github.com/Zhengqbbb)

<table>
    <tbody>
    <td align="center">



        I just try my best to make thing well.


        Could you give a star ⭐ to encourage me 🤗



        If possible, can to be my <a href="https://github.com/sponsors/Zhengqbbb">💖 Sponsor 💖</a> to support my work
        <img width="800" height="0" />
    </td>
    </tbody>
</table>

Extension points exported contracts — how you extend this code

OpenFile (Interface)
* @description fork by "temp/open" v0.9.4
packages/cz-git/src/shared/utils/editor.ts
CommitlintOptions (Interface)
(no doc)
packages/@cz-git/plugin-loader/src/index.ts
CommitOptions (Interface)
(no doc)
packages/cli/src/shared/types/common.ts
Source (Interface)
(no doc)
scripts/docs-update-use.ts
CommitizenGitOptions (Interface)
(no doc)
scripts/czrc-schema.d.ts
RulesConfig (Interface)
(no doc)
packages/cz-git/src/shared/types/commitlint.ts
LoaderOptions (Interface)
(no doc)
packages/@cz-git/plugin-loader/src/index.ts
CzgitCommonFlag (Interface)
(no doc)
packages/cli/src/shared/types/czg.ts

Core symbols most depended-on inside this repo

generateMessage
called by 26
packages/cz-git/src/generator/message.ts
fuzzyFilter
called by 24
packages/@cz-git/plugin-inquirer/src/shared/utils/fuzzy.ts
fuzzyMatch
called by 23
packages/@cz-git/plugin-inquirer/src/shared/utils/fuzzy.ts
getMaxSubjectLength
called by 17
packages/cz-git/src/shared/utils/util.ts
resovleFlag
called by 16
packages/cli/src/shared/utils/parse.ts
resovleArgs
called by 13
packages/cli/src/shared/utils/parse.ts
render
called by 10
packages/@cz-git/plugin-inquirer/src/checkbox/index.ts
isSingleItem
called by 9
packages/cz-git/src/shared/utils/util.ts

Shape

Function 165
Interface 44
Method 30
Class 10
Enum 2

Languages

TypeScript100%

Modules by API surface

packages/cz-git/src/shared/utils/util.ts18 symbols
packages/@cz-git/plugin-inquirer/src/checkbox/index.ts16 symbols
packages/cz-git/src/shared/utils/editor.ts14 symbols
packages/cz-git/src/generator/message.ts14 symbols
packages/@cz-git/plugin-inquirer/src/list/index.ts14 symbols
packages/cz-git/src/shared/types/commitlint.ts11 symbols
packages/@cz-git/plugin-loader/src/index.ts11 symbols
packages/cz-git/src/shared/utils/rule.ts10 symbols
packages/cz-git/src/shared/types/options.ts10 symbols
packages/@cz-git/plugin-inquirer/__tests__/checkbox.test.ts10 symbols
packages/@cz-git/plugin-inquirer/src/input/index.ts9 symbols
packages/cz-git/src/shared/utils/stream.ts8 symbols

For agents

$ claude mcp add cz-git \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact