Skip to content

yyz945947732/git-beauty-commit

Repository files navigation

git-beauty-commit

turn git commit massage into a more beautiful massage

Version Coverage Status PRs Welcome GitHub license

Install

npm install --save git-beauty-commit

Usage

import transform from 'git-beauty-commit';

const message = transform('fix: input should be ahead of select (#3373)');
//🐛 Input should be ahead of select (#3373)

API

function(msg: string): string;

Emoji

emoji type description
feat A new feature
🐛 fix A bug fix
📖 docs Documentation only changes
💄 style Changes that do not affect the meaning of the code
🛠 refactor A code change that neither fixes a bug nor adds a feature
⚡️ perf A code change that improves performance
test Adding missing tests or correcting existing tests
📦 build Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
⚙️ ci Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
🚀 chore Other changes that don't modify src or test files
🗑 revert Reverts a previous commit
🤞 try Add untested to production
🎉 init Project init

Related

LICENSE

MIT


This project is created using generator-stupid.