Skip to content

Script that automatically adds emojis to Git commit messages.

Notifications You must be signed in to change notification settings

JVSMOTA/.commit-emoji-adder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 

Repository files navigation

.commit-emoji-adder

Hits

💻 Running example

Exemplo de execução

🛠️ How to install

  • Clone the repository into the directory ~/:
cd ~ && git clone https://github.com/JVSMOTA/.commit-emoji-adder.git
  • To install, run the install command:
~/.commit-emoji-adder/bin/install

📖 How to use

  1. Navigate to the directory of your project that is using Git.
  2. When you commit, emojis are automatically added according to the specified commit type. Just follow the standard message structure:
git commit -m "<type>[scope]: <description>"
  • Exemple: To add a new feature, you can use:
$ git commit -m "feat: Add new authentication feature"
[master b8a9ca2] ✨ feat: Add new authentication feature
 1 file changed, 0 insertions(+), 0 deletions(-)

Note

Note that the git script will automatically add the appropriate emoji based on the specified commit type. But if you have any doubts, run to list the commit types and associated emoji:

git commit -m ?
  • The list of commit types and their emojis can be customized in the bin/commit.

This usage structure is intended to ensure that your commit messages follow a clear and standardized convention, making it easier for all team members to read and understand your commit history.

❌ How to uninstall

Warning

This will remove both the ~/.commit-emoji-adder/ directory and the changes to ~/bashrc.

Simply run:

~/.commit-emoji-adder/bin/uninstall

About

Script that automatically adds emojis to Git commit messages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages