Skip to content

Repository files navigation



Git Conventional CLI


Git Conventional CLI

VersionLicensenpm dependents




Features

  • Easy install
  • Follows the conventional commit guidelines
  • Pretty prints preview in color
  • Works globally or in your repository
  • List of untracked and modified files easly
  • Reset commit easly

CLI Usage

CLI Installation

NPMYarn
npm install --global git-conventional-cli
yarn global add git-conventional-cli

CLI Quickstart

To quickstart runs above command and follow the instructions:

gcc

CLI Helper

gcc summary? description? [options?]
┌─────────────────────────────────────────────┐
│ │
│ 🤖 Git Conventional Commit the easy way │
│ │
└─────────────────────────────────────────────┘
Arguments:
summary Summary of the current commit
description Description of the current commit (Max-Length: 72 char)
Options:
-V, --version output the version number
-s, --scope <value> Scope of type commit
-t, --type <value> Conventional Type (choices: "feat", "fix", "style", "refactor", "test", "docs", "chore", "perf")
-h, --help display help for command
Commands:
log Log of last commits
unt List of untracked files
mod List of modified files
rst <type> <hash-or-number> Undo local changes to the repository using the reset comman | Possible types: h (hard), s (soft), m (mixed)

CLI Inline use

Inline example usage:

gcc -t "fix" -s "user""this sumary of commit""this a description of the commit"

Contributing

Contribute by opening a pull request. Also, if your pull request contains patches or new features, you must include relevant unit tests.

Maintainers

About

🤖 Commit conventional the easy way with cli

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages