Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yyz945947732/git-beauty-commit-cli
git commit with beautiful massage
https://github.com/yyz945947732/git-beauty-commit-cli
cli git git-commit git-commit-massage git-emoji git-emoji-commit
Last synced: 27 days ago
JSON representation
git commit with beautiful massage
- Host: GitHub
- URL: https://github.com/yyz945947732/git-beauty-commit-cli
- Owner: yyz945947732
- License: mit
- Created: 2023-10-02T13:50:29.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-02T14:10:40.000Z (over 1 year ago)
- Last Synced: 2024-12-25T01:03:47.495Z (about 2 months ago)
- Topics: cli, git, git-commit, git-commit-massage, git-emoji, git-emoji-commit
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/git-beauty-commit-cli
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
bcommit -m "feat: support new feature"
```The above command is equivalent to executing the following command.
```bash
git commit -m "✨: Support new feature"
```## Install
```bash
npm install --global git-beauty-commit-cli
```## Usage
```txt
$ bcommit --helpUsage
$ bcommit [options]Options
-h --help Print this help
-v --version Print git-beauty-commit-cli version number
-m --message execute git commit with messageExamples
$ 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
| 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
- [git-beauty-commit](https://github.com/yyz945947732/git-beauty-commit) - API for this module
## LICENSE
[MIT](https://github.com/yyz945947732/git-beauty-commit-cli/blob/master/LICENSE)
---
This project is created using [generator-stupid-cli](https://github.com/yyz945947732/generator-stupid-cli).