0.1.4 โ€ข Published 11 months ago

beautiful-commits v0.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

๐ŸŒŒ Beautiful Commits

Beautiful Commits is a CLI tool that helps make your commits beautiful and expressive by adding emojis to the beginning of commit messages.

Beautiful Commits

๐ŸŒŒ Example

  1. Make a commit, and Beautiful Commits will automatically prepend the selected emoji to your commit message.
git commit -m "Your commit message"

After running the command, your commit message will look like this:

๐ŸŒ€ Your commit message

๐Ÿ”ฅ Usage

Use the init command to initialize configuration and dependencies for a new project.

npx beautiful-commits init

If you don't have the husky package installed yet, it will be downloaded as a dev dependency

You will be asked to choose which emoji you want to use

? ๐ŸŽฏ Select emoji to add to the start of the commit ยป ๐Ÿ’ก Enter to submit.
>   ๐Ÿ”ฅ
>   โ˜„๏ธ
>   ๐ŸŒ€
>   ๐ŸŒ•
>   ๐Ÿ๏ธ
>   ๐Ÿ‘น

A configuration file beautiful-commits.config.json will be created with the selected emoji

๐Ÿ”ง Configuration

Beautiful Commits allows you to configure various aspects of commit handling.\ The beautiful-commits.config.json file lets you specify the emoji to prepend to commit messages.

Example configuration file:

{
  "selectedEmoji": "๐Ÿ”ฅ"
}

You can edit emoji in configuration file

If the configuration file is missing or the emoji is not specified, the default value โ˜„๏ธ will be used.