1.0.0 • Published 7 months ago

git-beauty-commit-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

git-beauty-commit-cli

git commit with beautiful massage

Feature

execute bcommit -m "xxx" then it will capitalize the first letter in the git commit massage and add an emoji that match to the message type.

bcommit -m "feat: support new feature"

The above command is equivalent to executing the following command.

git commit -m "✨: Support new feature"

Install

npm install --global git-beauty-commit-cli

Usage

$ bcommit --help

  Usage
    $ bcommit [options]

  Options
    -h --help              Print this help
    -v --version           Print git-beauty-commit-cli version number
    -m --message           execute git commit with message

  Examples
    $ bcommit -m "fix: fixed the issue that this library cannot be used on Mac system"

Workflow

  • \$git add .
  • \$bcommit -m "YOUR COMMIT MESSAGE" to make a commit
  • \$git push

Emoji

emojitypedescription
featA new feature
🐛fixA bug fix
📖docsDocumentation only changes
💄styleChanges that do not affect the meaning of the code
🛠refactorA code change that neither fixes a bug nor adds a feature
⚡️perfA code change that improves performance
testAdding missing tests or correcting existing tests
📦buildChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
⚙️ciChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
🚀choreOther changes that don't modify src or test files
🗑revertReverts a previous commit
🤞tryAdd untested to production
🎉initProject init

Related

LICENSE

MIT


This project is created using generator-stupid-cli.