Skip to content

fsrocha-dev/git-conventional-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation



Git Conventional CLI


Git Conventional CLI

Version License npm 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

NPM Yarn
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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published