npm.io
1.0.0 • Published 7 years agoCLI

commitify

Licence
MIT
Version
1.0.0
Deps
3
Size
6 kB
Vulns
0
Weekly
0
Stars
1

Commitify

npm version

Easy git commit message with meaning

Install

npm install -g commitify

Usage

Inside any git repo:

$ commitify

? Do you want to add changes before commit (`git add .`)? Yes
? Choose commit type: fix
? Choose commit scope: client
? Enter commit message: this is a bug fix
? Do you want to push your commit? Yes

That will push a new commit with the message:
fix(client): this is a bug fix

Options

You can extend the list of the commit types and scopes (example here).
Create a .commitifyrc file in your project root in the format:

{
    "types": [
        "custom"
    ],
    "scopes": [
        "custom"
    ]
}

MIT License

Keywords