Clarify git capsule state meanings

This commit is contained in:
2026-01-24 20:43:35 +00:00
parent b9e4a97fea
commit 5babaa626b

View File

@@ -7,12 +7,12 @@ This file lists every prompt theme, color codes, design intent, and configuratio
What it is: a compact git status block shown on line 2 when you're inside a git repo. What it is: a compact git status block shown on line 2 when you're inside a git repo.
It uses `__git_ps1` when available, with a safe fallback to `git rev-parse` for the branch. It uses `__git_ps1` when available, with a safe fallback to `git rev-parse` for the branch.
States + emojis: States + emojis (plain language):
- Clean repo: ✨ - Clean repo: ✨ no local changes; your files match the last commit
- Dirty working tree: 🔨 - Dirty working tree: 🔨 you edited tracked files but havent staged them yet
- Staged changes: 📌 - Staged changes: 📌 changes are staged and ready to commit
- Untracked files: 🧷 - Untracked files: 🧷 new files git hasnt started tracking
- Stashed changes: 📦 - Stashed changes: 📦 work saved with `git stash` (not in your working tree)
How it works: How it works:
- The capsule only renders when a repo is detected (no extra noise outside git). - The capsule only renders when a repo is detected (no extra noise outside git).