<commit_before># EmojiCommit

Have you ever found your Git commit messages a little ... boring? Well they are. Just look at them! Now you can spice them up with :curry::banana::bomb: everyone's favourite characters: emojis!

## :wrench: Installation

Install on the command line with:

    $ gem install emoji-commit

## Usage :floppy_disk:

The gem installs a special commit hook script in a repo of your choosing.

Make sure you're in the root directory of a Git initialised repo (it will have the `.git` hidden folder in it, check it's there with `ls -a`). Then execute:

    $ emoji install

It will prompt to confirm you want to install, hit `y`. Now every time you write a commit message, a random emoji from [this](http://www.emoji-cheat-sheet.com/) list will be prefixed to it.

    $ git commit -m 'Some boring message'

Will be added to your repo as:

    :kimono: Some boring message

:kimono: Some boring message

Or:

    :sheep: Some boring message

:sheep: Some boring message

Or even:

    :lock_with_ink_pen: Some boring message

:lock_with_ink_pen: Some boring message

It is random after all.

If your message already begins with an emoji in the format `:foobar:` then this won't be overwritten. 

## :books: Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## :bug: Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/claireparker/emoji-commit.

## :lock: License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

## :crystal_ball: Meta

On Ruby gems: [emoji-commit](https://rubygems.org/gems/emoji-commit)<commit_msg>:back: How to use uninstall method<commit_after># EmojiCommit

Have you ever found your Git commit messages a little ... boring? Well they are. Just look at them! Now you can spice them up with :curry::banana::bomb: everyone's favourite characters: emojis!

## :wrench: Installation

Install on the command line with:

    $ gem install emoji-commit

## Usage :floppy_disk:

The gem installs a special commit hook script in a repo of your choosing.

Make sure you're in the root directory of a Git initialised repo (it will have the `.git` hidden folder in it, check it's there with `ls -a`). Then execute:

    $ emoji install

It will prompt to confirm you want to install, hit `y`. Now every time you write a commit message, a random emoji from [this](http://www.emoji-cheat-sheet.com/) list will be prefixed to it.

    $ git commit -m 'Some boring message'

Will be added to your repo as:

    :kimono: Some boring message

:kimono: Some boring message

Or:

    :sheep: Some boring message

:sheep: Some boring message

Or even:

    :lock_with_ink_pen: Some boring message

:lock_with_ink_pen: Some boring message

It is random after all.

If your message already begins with an emoji in the format `:foobar:` then this won't be overwritten.

To remove this silly feature, in the same root directory of your project run:

    $ emoji uninstall

This will delete all the files previously added, and also put the original Git commit-msg file back if this was removed.

## :books: Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## :bug: Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/claireparker/emoji-commit.

## :lock: License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

## :crystal_ball: Meta

On Ruby gems: [emoji-commit](https://rubygems.org/gems/emoji-commit)
{'fraction_non_alphanumeric': 0.08037300177619894, 'fraction_numerical': 0.0, 'mean_word_length': 4.027901785714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7669103', 'n_tokens_mistral': 1308, 'n_tokens_neox': 1281, 'n_words': 649}