Skip to content

DanBrima/cz-bsmch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cz-bsmch

This package is an adapter for commitizen, and it promotes the commit standard of bsmch.

An example of a commit:

? Select the type of change that you're committing: (Use arrow keys)
> Features
  Bug Fixes
  Documentation
  Styles
  Code Refactoring
  Performance Improvements
  Tests
(Move up and down to reveal more choices)

Installation

In order to install this module, run the following commends in bash:

npm install -g commitizen cz-bsmch

After you successfully installed commitizen and cz-bsmch, run the following command (that will configure commitizen to use the 'cz-bsmch' adapter):

echo '{ "path": "cz-bsmch" }' > ~/.czrc

Configuration

The package allows for an extended commit type format that included the explanation of each commit type:

? Select the type of change that you're committing: (Use arrow keys)
> Features:                 A new feature
  Bug Fixes:                A bug fix
  Documentation:            Documentation only changes
  Styles:                   Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  Code Refactoring:         A code change that neither fixes a bug nor adds a feature
  Performance Improvements: A code change that improves performance
(Move up and down to reveal more choices)

In order to use the extended format mentioned above, run the following commend in bash:

echo '{ "path": "cz-bsmch", "showCommitTypeExplanation": true }' > ~/.czrc

Usage

The package adds three commends:

  • ac: Adds the untracked files and commits via commitizen
  • acp: Adds the untracked files, commits via commitizen and pushes to the remote repo
  • adog: shorthand for "git log --all --decorate --oneline --graph"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published