is there any way to get the git status in a couple characters? (ie +32 -10) for a custom prompt? i tried researching but the closest i could find was git diff --shortstat, which is one line but very very long

Posted in: s/Linux

🌧️ candycanearter [✍️ short and simple]

2025-07-25 · 9 months ago · 👍 aRubes, argenkiwi

2 Comments ↓

👾 jecxjo · 2025-07-25 at 22:31:

Sure you can create your own command. Are you looking for just non staged changes? Save as `git-count`

🌧️ candycanearter [OP, ✍️] · 2025-07-27 at 21:09:

worked great, thx!