Built with:
Automatically add emojis to your Git commit messages based on the type of change!
- Makes your Git history more readable with clear, intuitive emojis
- Helps you quickly identify if a commit is a feature, bugfix, docs update, etc.
- Easy to install and configure
- Compatible with Windows, macOS, and Linux
- Perfect for teams, open source projects, and personal repos
- Git
prepare-commit-msghook that modifies commit messages automatically - Customizable emoji mapping via a
.commitemojifier.jsonconfig file - Simple setup with a single command:
commit-emojifier init - Supports common commit types:
feat,fix,docs,refactor,test,chore,style - Works with any Git client or editor
- Node.js (v14 or higher)
- Git
npm install -g commit-emojifier
cd commit-emojifier
git init # if you don't have a repo yet
commit-emojifier init- This installs the Git hook required for emoji injection.
From now on, whenever you commit with a message starting with a supported keyword, the corresponding emoji will be prepended automatically.
git commit -m "feat: add login system"
# Becomes: ✨ feat: add login system
git commit -m "fix: resolve authentication bug"
# Becomes: 🐛 fix: resolve authentication bugCreate a .commitemojifier.json file in your project root to define custom emoji mappings:
{
"feat": "✨",
"fix": "🐛",
"docs": "📝",
"refactor": "🔧",
"test": "✅",
"chore": "🔨",
"style": "🎨"
}The tool will prioritize your custom config if present.
- Clone the repository
- Install dependencies:
npm install - Link package locally:
npm link - Test in a sample repo:
commit-emojifier init
Contributions are welcome! Feel free to:
- Open issues for bugs or feature requests
- Submit pull requests
- Improve documentation
- Share feedback
MIT License © 2025 callmenoway
If you find Commit-Emoji useful:
- ⭐ Star the repository
- Share with your friends and colleagues
- Report issues or contribute improvements

