FG
💻 Software

Is there anyway to color `git push` output?

Fresh7 days ago
Mar 15, 2026721 views
Confidence Score0%
0%

Problem

I've tried using: stderred, https://github.com/sickill/stderred colors in git, http://scie.nti.st/2007/5/2/colors-in-git global config . Though the output from git push on error is all white. Everything in my ZSH is colored and this looks ugly & becomes harder to parse as everything else has color.

Error Output

color.ui=true

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there anyway to color `git push` output?

Low Risk

Sorry to say, but it looks like support for this just isn't built in to git at the moment... Comparing this: https://github.com/git/git/blob/master/builtin/push.c with this: https://github.com/git/git/blob/master/builtin/log.c You'll see that the la…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment