✨ gitpretty
Make your git history beautiful

git log --oneline
Before: 😴
a1b2c3d Update stuff
e4f5g6h Fix thing
i7j8k9l Add feature
After: ✨
a1b2c3d ✨ Add user authentication
e4f5g6h 🐛 Fix login validation
i7j8k9l 📝 Update documentation
🚀 Quick Start
git clone https://github.com/nirholas/gitpretty.git
./gitpretty/emoji-file-commits.sh /path/to/your-repo
cd /path/to/your-repo && git push
Result: Every file shows a unique emoji in GitHub's file browser!
🛠️ Tools
Core Scripts
emoji-file-commits.sh | Add emojis visible in GitHub |
emoji-commits.sh | Safe mode (empty commits) |
Git Workflow
emoji-commit.sh | "add auth" → ✨ Add auth |
emoji-branch.sh | feature login → feature/login |
emoji-merge.sh | feature/auth → ✨ Merge feature: auth |
emoji-stash.sh | save wip "testing" → 🚧 testing |
emoji-log.sh | graph / today / week |
emoji-tag.sh | v1.0.0 minor → ✨ v1.0.0 |
emoji-hooks.sh | Auto-emoji all commits |
GitHub Actions
emoji-commits.yml | Auto-beautify on push |
commit-lint.yml | Validate PR commits |
changelog.yml | Auto changelog on release |
💬 Smart Commits
./scripts/emoji-commit.sh "add dashboard"
./scripts/emoji-commit.sh "fix login bug"
./scripts/emoji-commit.sh "update readme"
Auto-detection:
| add, feat | ✨ | fix, bug | 🐛 |
| docs | 📝 | style | 💄 |
| refactor | ♻️ | test | ✅ |
| config | ⚙️ | security | 🔐 |
| deploy | 🚀 | remove | 🗑️ |
🪝 Auto-Emoji Hooks
./scripts/emoji-hooks.sh install
git commit -m "add feature"
📜 Pretty Logs
./scripts/emoji-log.sh graph
./scripts/emoji-log.sh today
./scripts/emoji-log.sh week
./scripts/emoji-log.sh author
📦 Stash Management
./scripts/emoji-stash.sh save wip "working on auth"
./scripts/emoji-stash.sh list
| wip | 🚧 | experiment | 🧪 |
| temp | ⏳ | backup | 🔐 |
| idea | 💡 | debug | 🔍 |
⚙️ Git Aliases
Add to ~/.gitconfig:
[alias]
pretty = "!~/.gitpretty/scripts/emoji-commit.sh"
pl = "!~/.gitpretty/scripts/emoji-log.sh"
ps = "!~/.gitpretty/scripts/emoji-stash.sh"
Usage:
git pretty "add feature"
git pl graph
git ps list
📚 Docs
📄 License
MIT
git pretty ✨ make it beautiful