Pummit
A git commit command wrapper for smart and beautiful with emoji 🎨
Install / Use
/learn @HidemaruOwO/PummitREADME

pummit 🚛
Make the commit message more beautiful in CLI 🎨
<details> <summary>See commit messages by pummit</summary> <img src="docs/assets/commit.png" alt="pummit commit" /> </details>🚀 Features
- Beautiful commit message
- Emoji alias
- Lazygit support (option)
🛠 Installation
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
🏗 Build from Source
git clone https://github.com/HidemaruOwO/pummit.git
cd pummit
go build -ldflags="-s -w" -trimpath main.go
mv main pummit
<!-- - Arch Linux -->
<!-- ```sh -->
<!-- git clone https://github.com/HidemaruOwO/MicroRepository.git -->
<!-- cd MicroRepository -->
<!-- makepkg -si -->
<!-- ``` -->
🎯 Usage
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)'
<details>
<summary>Learn emoji prefixes</summary>
# ==================== 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...
</details>
Dependencies 🪡
To use pummit, please register the following command in your path
- git
To use with lazygit 🔍
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 with pummit"
🌍 For contributer
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.
📜 License
<div align="left" style="flex: inline" > <a href="https://www.apache.org/licenses/LICENSE-2.0" > <img src="https://img.shields.io/badge/License-Apache%20License%202.0-blue.svg" alt="Apache License 2.0" </a> <a href="https://github.com/MakeNowJust/sushi-ware" > <img src="https://img.shields.io/badge/License-SUSHI--WARE%20%F0%9F%8D%A3-blue.svg" alt="SUSHI-WARE LICENSE" </a> </div>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.
🤝 Reference
This repository was created using the MicroRepository template.
