Skip to content

deepdadou/gitmoji-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 gitmoji-cli

Interactive Gitmoji Commit CLI tool with Conventional Commits support.

Node npm

✨ Features

  • 🎨 58 built-in gitmojis with keyword search
  • Interactive CLI — pick emoji, type, scope, message step by step
  • 📋 Conventional Commits support out of the box
  • 🔍 Search gitmojis by keyword
  • 📝 Breaking change flag support
  • 🌐 Works anywhere — no external API needed

📦 Install

npm install -g @mazhu/gitmoji-cli

Or via npx:

npx @mazhu/gitmoji-cli <command>

🚀 Usage

Initialize (optional)

gitmoji init

Commit (interactive)

gitmoji commit

Flow:

  1. Pick a gitmoji
  2. Select commit type (feat, fix, docs, style, etc.)
  3. Enter optional scope
  4. Enter commit message
  5. Add optional extended description
  6. Mark as breaking change if needed
  7. Confirm and commit

List all gitmojis

gitmoji list

Search gitmojis

gitmoji search bug      # search by keyword
gitmoji search feat     # find feature-related emojis
gitmoji search deploy   # find deployment emojis

Other commands

gitmoji version         # show version
gitmoji help            # show help

📋 Commit Message Format

🎨 feat(scope)!: add user authentication

Optional extended description here.

🎨 Available Gitmojis

Emoji Code Description
🎨 🎨 Improve structure / format of the code
Improve performance
🔥 🔥 Remove code or files
🐛 🐛 Fix a bug
🚑 🚑 Critical hotfix
Introduce new features
📝 📝 Add or update documentation
🚀 🚀 Deploy stuff
💄 💄 Add or update the UI and style files
🎉 🎉 Begin a project
Add, update, or pass tests
🔒 🔒 Fix security issues
♻️ ♻️ Refactor code
🔀 🔀 Merge branches
🧪 🧪 Adding a failing test
⬆️ ⬆️ Upgrade dependencies
... ... 57 more

🛠️ Develop

git clone https://github.com/deepdadou/gitmoji-cli.git
cd gitmoji-cli
npm install
npm link   # link globally
gitmoji help

📄 License

MIT © mazhu

About

Interactive Git commit tool with emoji prefixes - conventional commits made easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors