Make the commit message more beautiful in CLI 🎨
- Beautiful commit message
- Emoji alias
- Lazygit support (option)
go install github.com/HidemaruOwO/pummit@latest
- macOS or linuxbrew user
brew tap hidemaruowo/tap
brew update
brew install pummit
- others
You can download pummit from builded binary.
# ~/Downloads
tar xzvf pummit**.tar.gz
sudo mv pummit /usr/local/bin
https://github.com/HidemaruOwO/pummit/releases
git clone https://github.com/HidemaruOwO/pummit.git
cd pummit
go build -ldflags="-s -w" -trimpath main.go
mv main pummit
You can use pummit in two different ways.
pummit <emojiprefix> '<subject>'
# or
pummit '<emojiprefix> <subject>'
# Example
pummit sparkles 'I am unko man'
# Run: git commit -m ':sparkles: I am unko man (path/to/added/file, path/to/added/file)'
pummit 'sparkles I am unko man'
# Run: git commit -m ':sparkles: I am unko man (path/to/added/file, path/to/added/file)'
Learn emoji prefixes
# ==================== Emojis ====================
# 🎉 :tada: 初めてのコミット(Initial Commit)
# ♻️ :recycle: マージ(Merge)
# 🔖 :bookmark: バージョンタグ(Version Tag)
# ✨ :sparkles: 新機能(New Feature)
# 🐛 :bug: バグ修正(Bagfix)
# 👀 :eyes: リファクタリング(Refactoring)
# 📚 :books: ドキュメント(Documentation)
# 🎨 :art: デザインUI/UX(Accessibility)
# 🐎 :horse: パフォーマンス(Performance)
# 🔧 :wrench: ツール(Tooling)
# 🚨 :rotating_light: テスト(Tests)
# 💩 :hankey: 非推奨追加(Deprecation)
# 🗑️ :wastebasket: 削除(Removal)
# 🚧 :construction: WIP(Work In Progress)
# ☃️ :snowman: 仕様変更
# ==================== Format ====================
# :emoji: Subject (Dir/AddedFile Dir/AddedFile)
#
# Commit body...
To use pummit, please register the following command in your path
- git
If you want to use pummit with lazygit, you should add the following key bindings to .config/lazygit/config.yml
.
customCommands:
- key: "c"
prompts:
- type: "input"
title: "Commit message"
initialValue: ""
command: "pummit '{{index .PromptResponses 0}}'"
context: "files"
description: "commit changes(Custom Command)"
By contributing to this project, you agree to the following terms:
- You grant a license: You grant the project owner a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to use, modify, distribute, and sublicense your contributions under the Apache License 2.0.
- You retain ownership: You still own the copyright of your contribution, but you waive any claims against the project related to your contribution.
- No additional patent rights: You do not grant additional patent rights beyond what is covered by Apache 2.0.
- Your contributions are original: You confirm that your contributions do not violate any third-party rights.
By submitting a pull request, you agree to these terms.
This project is dual-licensed under Apache License 2.0 and SUSHI-WARE LICENSE.
A reference to the latest license should be used, even if the attached license is outdated of major versions.
This repository was created using the MicroRepository template.