gitmoji Documentation

An emoji guide for your commit messages. ๐Ÿ˜œ

16,804 stars TypeScript TypeScript 2 files ยท ~1,181 tokens #commits#emoji#gitmoji
RAW Doc

Technical Documentation: carloscuesta/gitmoji

โ„น๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference

Overview (`README.md`)

About

Gitmoji is an initiative to standardize and explain the use of emojis on GitHub commit messages.

Using emojis on commit messages provides an easy way of identifying the purpose or intention of a commit with only looking at the emojis used. As there are a lot of different emojis I found the need of creating a guide that can help to use emojis easier.

The gitmojis are published on the following package in order to be used as a dependency ๐Ÿ“ฆ.

Using [gitmoji-cli](https://github.com/carloscuesta/gitmoji-cli)

To use gitmojis from your command line install gitmoji-cli. A gitmoji interactive client for using emojis on commit messages.

bash
npm i gitmoji-cli

Example of usage

In case you need some ideas to integrate gitmoji in your project, here's a practical way to use it:

text
<intention> [scope?][:?] <message>
  • intention: An emoji from the list.
  • scope: An optional string that adds contextual information for the scope of the change.
  • message: A brief explanation of the change.

Contributing to gitmoji

Contributing to gitmoji is a piece of :cake:, read the contributing guidelines. You can discuss emojis using the issues section. To add a new emoji to the list create an issue and send a pull request, see how to send a pull request and add a gitmoji.

Spread the word

Are you using Gitmoji on your project? Set the Gitmoji badge on top of your readme using this code:

html
<a href="https://gitmoji.dev">
  <img
    src="https://img.shields.io/badge/gitmoji-%20๐Ÿ˜œ%20๐Ÿ˜-FFDD67.svg?style=flat-square"
    alt="Gitmoji"
  />
</a>

License

The code is available under the MIT license.


Overview (`packages/gitmojis/README.md`)

About

The emojis from the gitmoji convention bundled into a node module.

Install

bash
npm i gitmojis

Usage

js
import { gitmojis } from 'gitmojis'

console.log(gitmojis)

/*
[
  {
    emoji: '๐ŸŽจ',
    entity: '&#x1f3a8;',
    code: ':art:',
    description: 'Improve structure / format of the code.',
    name: 'art',
    semver: null
  },
  {
    emoji: 'โšก๏ธ',
    entity: '&#x26a1;',
    code: ':zap:',
    description: 'Improve performance.',
    name: 'zap',
    semver: null
  },
  ...
]
*/

API

Alternatively you can also consume this as through HTTP using the API:

bash
curl https://gitmoji.dev/api/gitmojis

Spread the word

Are you using Gitmoji on your project? Set the Gitmoji badge on top of your readme using this code:

html
<a href="https://gitmoji.dev">
  <img
    src="https://img.shields.io/badge/gitmoji-%20๐Ÿ˜œ%20๐Ÿ˜-FFDD67.svg?style=flat-square"
    alt="Gitmoji"
  />
</a>

--- METRICS ---